ITeye博客

Struts2

共 1 篇文章

struts2中的constant配置详解

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <!--指定Web应用的默认编码集.该属性对于处理中文请求参数非常有用,对于获取中文请求参数值,应该将该属性值设置为GBK或者GB2312; 提示:当设置该参数为GBK时,相当于调用HttpServletRequest的set…

2014-04-09 10:58 · Struts2