读书人

struts2主struts资料加载其他struts文

发布时间: 2013-02-15 15:46:56 作者: rapoo

struts2主struts文件加载其他struts文件
<constant name="struts.devMode" value="true" /><!-- 开发模式修改后,tomcat自动重启 -->
<constant name="struts.i18n.encoding" value="utf-8" /><!---设置编码->
<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.ognl.allowStaticMethodAccess" value="true" /><!-ognl允许访问Action中的静态属性 -->
<include file="com/ognl/action/ognl.xml" /><!-- 将com.ognl.action包下面的ognl.xml包含进来 -->

读书人网 >Web前端

热点推荐