struts2的struts.properties配置文件详解 req=w;E:
Vvm6T@b M8
struts.action.extension b*nytF
The URL extension to use to determine if the request is meant for a Struts action ;J2U5Y NO
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Gnl6>/L,
J@"Pv~R
struts.configuration }kT;UdIu;
The org.apache.struts2.config.Configuration implementation class %{yr#F=t#]
org.apache.struts2.config.Configuration接口名 EQyRP.
dq
u%V=Ze
struts.configuration.files -]Z!_[MlDF
A list of configuration files automatically loaded by Struts KA`1IW;
struts自动加载的一个配置文件列表 dY~3YD[
ba%[!
struts.configuration.xml.reload L:`|lc=^
Whether to reload the XML configuration or not U#-&%|b$
是否加载xml配置(true,false) 394u']M
A~ '2ki5$g
struts.continuations.package \C
ZiU3
The package containing actions that use Rife continuations B+jT|Y'
含有actions的完整连续的package名称 .!U `,)I
XU2HWa
struts.custom.i18n.resources =P'=P0G
Location of additional localization properties files to load !}"npUgE
加载附加的国际化属性文件(不包含.properties后缀) !__f
Umv_{n`
struts.custom.properties 3HO4h\mp
Location of additional configuration properties files to load S5"xb
加载附加的配置文件的位置 K^J;iu 4
RT9fp(6*
56G5JSB=\
struts.devMode J6hWcA6g
Whether Struts is in development mode or not ]g IXG`
是否为struts开发模式 ,ZD!Qb
Sj+gf~~
struts.dispatcher.parametersWorkaround yZb@
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic RL~\/#
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #Jy+:|jJ
/_*:
struts.enable.DynamicMethodInvocation |O+R%'z'<
Allows one to disable dynamic method invocation from the URL E5jK}1t4V
允许动态方法调用 /Or76kE
%saTyF,
struts.freemarker.manager.classname ? Q.Y
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CLQ \Is^]
org.apache.struts2.views.freemarker.FreemarkerManager接口名 zO2<Igb
%p/Qz|W
struts.i18n.encoding nkS6A}i3o
The encoding to use for localization messages (^qcX;-
国际化信息内码 *7ap[YXZ\w
l2gI2Cioa
struts.i18n.reload L^RyJ;^c
Whether the localization messages should automatically be reloaded `*KS`
z?
是否国际化信息自动加载 IB}.J,=
iFF/[P
struts.locale ~SV;"e2N.
The default locale for the Struts application 6:v8J1G(<
默认的国际化地区信息 i/C#fIB2
O~">-'f
struts.mapper.class bTA<AoW9="
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class aMm`G}9n
org.apache.struts2.dispatcher.mapper.ActionMapper接口 2YuaPq/
2EG"xA5%
struts.multipart.maxSize ]
X%bU*4
The maximize size of a multipart request (file upload) )09_CC!a
multipart请求信息的最大尺寸(文件上传用) /P^@dL
q<oA%yR
struts.multipart.parser g\rujxHlH
The org.apache.struts2.dispatcher.multipart. e Yyl=YW
MultiPartRequest parser implementation for a multipart request (file upload) zFP}=K:o)
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) TCmWn$LeE
\M:,Vg
rvw1'y
struts.multipart.saveDir Gg5vf]VFo
The directory to use for storing uploaded files &Radpb2p6
设置存储上传文件的目录夹 FE M_7M
js;IUSj.
struts.objectFactory lDMYDy{<
The com.opensymphony.xwork2.ObjectFactory implementation class 8'^eH1d'
com.opensymphony.xwork2.ObjectFactory接口(spring) ~+l%}4RZ
oWs&W
struts.objectFactory.spring.autoWire vFl|
Whether Spring should autoWire or not /I[cj3}{+f
是否自动绑定Spring -d_FB?X
j|lg&kN
struts.objectFactory.spring.useClassCache eC[g"Ef
Whether Spring should use its class cache or not *$`r)pV%AK
是否spring应该使用自身的cache 1 68U-<
qaw5<
struts.objectTypeDeterminer G?3S_3J2
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class u:g(x+u4:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q{>9Dg
p&