<?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>
<constant name="struts.i18n.encoding" value="UTF-8"/>
<constant name="struts.action.extension" value="action,do,,"/>
<constant name="struts.ui.theme" value="simple"/>
<!--在开发阶段这样设置,但是完成之后要改变-->
<constant name="struts.serve.static.browserCache" value="false"/>
<constant name="struts.devMode" value="true"/>
<constant name="struts.multipart.maxSize" value="10000" />
<constant name="struts.objectFactory" value="spring" />
<package name="" namespace="" extends="struts-default">
<action name="">
<result></result>
</action>
</package>
</struts>
struts.xml
最新推荐文章于 2022-03-03 12:50:45 发布