![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts2
zhangshufei
爱好广泛,性格外向!
展开
-
Struts2 freemarker.template.TemplateModelException
今天抽出点时间复习了一下,李刚<<struts2权威指南>>,其中有一章,关于客户端验证的,按照书上步骤,最后报了一个freemarker.template.TemplateModelException: Method public java.util.List错误, 问题:在使用struts做客户端校验时,form中增加validate="true"属性,logi...2015-03-10 14:42:00 · 174 阅读 · 0 评论 -
Struts2的Session超时返回登录页面
今天做一个S2SM的项目时,在session超时或者失效时返回到登陆页面重新登陆,前台使用的easyui框架 1、首先修改web.xml <session-config> <session-timeout>1</session-timeout> </session-config> 2、自定义一个登录超时的拦截器 packagec...2016-03-21 14:13:00 · 232 阅读 · 0 评论