06 2015 档案

摘要:controller 处理请求的代码@ResponseBody @RequestMapping(value = "ajax", produces = "application/json") public String ajax(HttpServletRequest request,Htt... 阅读全文
posted @ 2015-06-27 20:45 Xuyung 阅读(148) 评论(0) 推荐(0)
摘要:public class Person { private String name; private List sons; public Person () { } public Person(String name,List sons) { this.name=name; this.s... 阅读全文
posted @ 2015-06-20 20:48 Xuyung 阅读(6355) 评论(0) 推荐(0)
摘要:${boundItem} 如果 否则 ${fn:substring(string, start, end)}${fn:contains(singlenews.keyword,'ifcontain')} 阅读全文
posted @ 2015-06-15 21:26 Xuyung 阅读(120) 评论(0) 推荐(0)
摘要:环境:1.myeclipse 20142.hibernate4.2.5.Final3.mysql4.tomcat v85.mavennew 一个webapp的maven的项目先添加依赖项到pom.xml 4.0.5.RELEASE 3.1.0 1.2... 阅读全文
posted @ 2015-06-14 14:55 Xuyung 阅读(643) 评论(0) 推荐(2)