<!-- 设置上传文件 -->
<constant name="struts.multipart.saveDir" value="/tmpUpload"/>
<package name="default" extends="struts-default">
</package>
</struts>
<constant name="struts.multipart.saveDir" value="/tmpUpload"/>
<package name="default" extends="struts-default">
</package>
</struts>
2016-02-15
<struts>
<!--设置开发模式-->
<constant name="struts.action.extension" value="action"/>
<!--设置编码形式为UTF-8-->
<constant name="struts.i18n.encoding" value="UTF-8"/>
<!--省略其他配置信息-->
<constant name="struts.multipart.maxSize" value="1073741824"/>
<!--设置开发模式-->
<constant name="struts.action.extension" value="action"/>
<!--设置编码形式为UTF-8-->
<constant name="struts.i18n.encoding" value="UTF-8"/>
<!--省略其他配置信息-->
<constant name="struts.multipart.maxSize" value="1073741824"/>
2016-02-15
自己写的源码“:
<?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">
<?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">
2016-02-15