![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts2
crush1988
这个作者很懒,什么都没留下…
展开
-
struts2和servlet的共存问题
http://blog.163.com/yangjing1_hi/blog/static/163075985201148735069/先看一下struts2 的web.xml文件: struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /转载 2017-01-07 14:32:47 · 258 阅读 · 0 评论 -
struts2 validation.xml 验证
当使用struts2的validation.xml进行验证时,需要注意如下几个方面:1.表单一般使用struts2标签关闭客户端验证,使用name对应action中的属性2.在Action配置中一定要设置input返回页面3.添加验证只要创建验证的xml文件,在Action同包下,创建:Action类名-validation.xml4.对于int型和Date型如果客户端转载 2017-01-07 16:25:51 · 525 阅读 · 0 评论