摘要:
解决方案 看下我的 session.setAttribute(UserInfo.USERINFO, userinfo); session.setMaxInactiveInterval(SESSION_TIME); 没有用到sessionlistener, 页面上会检查是否存在该session 解决方 阅读全文
2016年3月9日
2016年3月2日
摘要:
http://jingyan.baidu.com/article/e2284b2b60aceee2e6118d3b.html 阅读全文
2016年1月27日
摘要:
private Class<T> entityClass ; entityClass = (Class<T>) ((ParameterizedType) getClass().getGenericSuperclass()).getActualTypeArguments()[0]; 阅读全文
2016年1月26日
摘要:
Top 50个快速高效学习 Java 的在线资源 http://codecloud.net/top-50-java-online-6297.html 程序员必看的书之Java程序员 http://www.open-open.com/news/view/4c6ed1 学习网址 http://www.j 阅读全文
摘要:
jsp:JSON.stringify(params):params:表示数组servlet:Store store = (Store) JSONObject.toBean(JSONObject.fromObject(areaStr), Store.class); 阅读全文
2016年1月20日
2016年1月13日
摘要:
1 having 是对于聚合函数而言的(max,min,avg,count,) 阅读全文
摘要:
在web.xml中配置error-page在web.xml中有两种配置error-page的方法,一是通过错误码来配置,而是通过异常的类型来配置,分别举例如下:一. 通过错误码来配置error-page 500 /error.jsp 上面配置了当系统发生500错误(即服... 阅读全文
摘要:
第一步:在applicationContext.xml配置: classpath:/config/*.properties 第二步:建立配置文件内容:例... 阅读全文