2011年3月24日
摘要: struts.properties配置struts.properties文件在WEB-INF/classes目录下存放。这个文件用来配置Struts2系统的一些基本规约,所有在struts.properties中配置的内容都可以在struts.xml中配置,或者web.xml中在struts2 filter中配置,例如:Struts.properties中的如下配置:struts.i18n.encoding=UTF-8相当于struts.xml中的如下配置:<constant name=“struts.i18n.encoding” value=“true” />相当于web.xml 阅读全文
posted @ 2011-03-24 18:03 TankMa 阅读(194) 评论(0) 推荐(0) 编辑