上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页

2014年8月18日

摘要: select * from dc_restaurants; 31 select DISTINCT (restaurant_name),id from dc_restaurants; 31 (会按照id和 restaurant_name 联合 去重 )select DISTINCT (restaur... 阅读全文
posted @ 2014-08-18 10:16 远方的人 阅读(1110) 评论(0) 推荐(0) 编辑

2014年5月24日

摘要: 1. 引入 dwr.jar 包2. 配置web.xml 文件 ,拦截请求 dwr-invoker org.directwebremoting.servlet.DwrServlet debug true dwr-invoker /dw... 阅读全文
posted @ 2014-05-24 16:02 远方的人 阅读(331) 评论(0) 推荐(0) 编辑

2014年5月21日

摘要: 转自 http://huangtut.iteye.com/blog/261520 对我有帮助,所以收藏了Hibernate三种状态的区分,以及save,update,saveOrUpdate,merge等的使用Hibernate的对象有3种状态,分别为:瞬时态(Transient)、 持久态(Per... 阅读全文
posted @ 2014-05-21 14:03 远方的人 阅读(174) 评论(0) 推荐(0) 编辑

2014年5月19日

摘要: jdbc mybatis spring data jpa dao service webservice jaxrs jaxws spr... 阅读全文
posted @ 2014-05-19 13:58 远方的人 阅读(652) 评论(0) 推荐(0) 编辑

2014年5月15日

摘要: 1. web.xml springServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB... 阅读全文
posted @ 2014-05-15 18:26 远方的人 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 1. 导入 jar 包2. 编写接口3. 编写实现4. 配置spring 配置文件5. 配置web.xml servlet 6. 访问package com.diancai.test;import javax.jws.WebParam;import javax.jws.WebService;impo... 阅读全文
posted @ 2014-05-15 18:23 远方的人 阅读(507) 评论(0) 推荐(0) 编辑

2014年5月14日

摘要: jaxb jax-ws jax-rs 支持soap 至此rest soap衍生wsdl rest wadl cxf 都... 阅读全文
posted @ 2014-05-14 18:30 远方的人 阅读(1367) 评论(0) 推荐(0) 编辑

2014年5月9日

摘要: src\main\webapp\WEB-INF\classes 可以把 类文件编译到 web-inf 下 ,用于项目运行 org.apache.maven.plugins maven-dependency-plugin 2.1 src/main/webapp/WEB-INF/lib ... 阅读全文
posted @ 2014-05-09 15:32 远方的人 阅读(1827) 评论(0) 推荐(0) 编辑
摘要: 1.dozer 做类型转换的, 新建 xml 文件 描述两个实体的对应关系 ,DozerBeanMapper mapper =new DozerBeanMapper().addMappingFiles(new list);mapper.map(a,b) 将b对想映射给 a ,,dozer 是jav... 阅读全文
posted @ 2014-05-09 15:30 远方的人 阅读(475) 评论(0) 推荐(0) 编辑

2014年5月5日

摘要: 1. 使用struts 防止表单提交 时, form 表单必须使用struts标签库编写,如 等,而不是html标签 2. 拦截器是struts2的核心。 interceptor接口package com.interceptor;import com.opensymphony.xwork2.Acti... 阅读全文
posted @ 2014-05-05 22:39 远方的人 阅读(257) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页

导航