2017年5月24日
摘要: 后台保存的数据 session.setAttribute("user", name); request.setAttribute("password", password); 前台显示 欢迎session:${sessionScope.user} request:${requestScope.pas 阅读全文
posted @ 2017-05-24 09:27 技术的深奥 阅读(362) 评论(0) 推荐(0) 编辑
2017年5月10日
摘要: BeanFactory not initialized or already closed - call 'refresh' before 启动项目报这个错误,同时任务管理器也会出现两个javax,是因为利用注解的方式进行项目时有两个注解内容相同@Repository("baseDao") 阅读全文
posted @ 2017-05-10 23:19 技术的深奥 阅读(1569) 评论(0) 推荐(0) 编辑
2017年4月20日
摘要: 例如: <script type="text/javascript"> $.extend($.fn.validatebox.defaults.rules,{ name:{ validator:function(value,param){ var reg=/^[\u0391-\uFFE5]+$/; r 阅读全文
posted @ 2017-04-20 11:40 技术的深奥 阅读(3224) 评论(0) 推荐(0) 编辑
2017年4月15日
摘要: private static SessionFactory sf; static{ Configuration cfg=new Configuration().configure(); ServiceRegistry sr=new ServiceRegistryBuilder() .applySet 阅读全文
posted @ 2017-04-15 11:52 技术的深奥 阅读(198) 评论(0) 推荐(0) 编辑
摘要: <?xml version='1.0' encoding='UTF-8'?><!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://www.hibernat 阅读全文
posted @ 2017-04-15 11:51 技术的深奥 阅读(393) 评论(0) 推荐(0) 编辑
2017年3月2日
摘要: 1.启动cmd 按回车 2.net start mysql 回车 阅读全文
posted @ 2017-03-02 16:16 技术的深奥 阅读(104) 评论(0) 推荐(0) 编辑