javaEE
文章平均质量分 80
dpcfighting
这个作者很懒,什么都没留下…
展开
-
struts2中的constant配置详解
xml version="1.0" encoding="UTF-8"?> "http://struts.apache.org/dtds/struts-2.0.dtd"> struts> 提示:当设置该参数为GBK时,相当于调用HttpServletRequest的setCharacterEncoding方法. > consta原创 2016-07-16 23:35:55 · 175 阅读 · 0 评论 -
Struts2 1.动态方法调用(1.指定method2.感叹号方式3.通配符方式)2.隐藏后缀名(三种方式)
/jsp/error.jsp /jsp/add.jsp /jsp/update.jsp <!--2感叹号方式要配置的文件 页面调用http://localhost:8080/HelloWorld/helloworld!add.action 不推荐--> /jsp/result.jsp /jsp/add.jsp /jsp/update.jsp原创 2016-07-17 01:36:38 · 468 阅读 · 0 评论 -
Struts, validate()方法
Struts之使用输入校验validate()方法 (2012-11-23 22:19:52) 标签: validate() 验证 struts验证 分类: Struts 执行流程: 1)首先进行类型转换 2)然后进行输入效验(执行validate方法) 3)如果在原创 2016-07-18 11:51:15 · 369 阅读 · 0 评论