随笔分类 -  Java

摘要:一:依赖注入的方式 constructor-arg:通过构造函数注入。 property:通过setxx方法注入。 二:constructor-arg的简单使用 java代码 Java代码 public class Man { private String name ; private int ag 阅读全文
posted @ 2016-03-02 15:29 去三存一 阅读(305) 评论(0) 推荐(0)
摘要:超级管理员登录:运行下面代码 alter user [username] account unlock; 阅读全文
posted @ 2016-02-20 10:29 去三存一 阅读(137) 评论(0) 推荐(0)
摘要:实现select标签回显 1.<select name="curStatus" > <option value="0">-请选择-</option> <option value="1" <c:if test="${'1' eq curStatus}">selected</c:if> >男</opti 阅读全文
posted @ 2016-02-20 10:27 去三存一 阅读(7379) 评论(0) 推荐(0)
摘要:解决方案1.是因为Hibernate和struts2引入的包产生冲突啦,去把xerces.jar移除就ok啦。路径所在 D:\Program Files\MyEclipse 7.0M1\eclipse\dropins\myeclipse\eclipse\plugins\com.genuitec... 阅读全文
posted @ 2015-11-10 11:59 去三存一 阅读(151) 评论(0) 推荐(0)