struts2的struts.properties配置文件详解 h3ZL0Fi*
8YkH
struts.action.extension YRX2^v ^[
The URL extension to use to determine if the request is meant for a Struts action >@\?\!Go
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .ceU @^
'g,
x}6
struts.configuration &Fr68HNmj
The org.apache.struts2.config.Configuration implementation class FKTP0e7=9
org.apache.struts2.config.Configuration接口名 |Szr=[
`e:RZ
struts.configuration.files |0Ug~jKU
A list of configuration files automatically loaded by Struts X_yU"U
struts自动加载的一个配置文件列表 JN|#
Cl){sP=8W
struts.configuration.xml.reload n/|`Dz.
Whether to reload the XML configuration or not /-9+(
是否加载xml配置(true,false) `'t;BXedz/
bGLp0\0[
struts.continuations.package V)?g4M3}
The package containing actions that use Rife continuations nqW:P$
含有actions的完整连续的package名称 , X+(wp
YuuG:Kk
struts.custom.i18n.resources |Y8o+O_`
Location of additional localization properties files to load sX?7`n1U
加载附加的国际化属性文件(不包含.properties后缀) Uv$u\D+@[
Jm^jz
struts.custom.properties tAn6pGp
Location of additional configuration properties files to load e;Z`&
加载附加的配置文件的位置 _\6(4a`,
VZ!$'??
tOVm~C,R
struts.devMode ,3[<C)'[
Whether Struts is in development mode or not 3Q"+
#Ob
是否为struts开发模式 TniKH(w/
M)RQIl5
struts.dispatcher.parametersWorkaround L-T Ve
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {iteC
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F'Vl\qPt
f@g
struts.enable.DynamicMethodInvocation }#
^PbM
Allows one to disable dynamic method invocation from the URL CR=MjmH
允许动态方法调用 d+)L\
`4
+5\\wGo<
struts.freemarker.manager.classname B)NB6dCp
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]jrxrUl
org.apache.struts2.views.freemarker.FreemarkerManager接口名 N#ObxOE6T"
.`RC,R`C
struts.i18n.encoding DgP%Q
The encoding to use for localization messages v%Xe)D
国际化信息内码 xb;mm9H
|g!#
\
struts.i18n.reload e8v=n@0
Whether the localization messages should automatically be reloaded U]$3NIe
是否国际化信息自动加载 %tLq&tyeY
TR20{8"
struts.locale _J!mhUA
The default locale for the Struts application 3I(M<sB}
默认的国际化地区信息 K@lV P!z
>c eU!=>
struts.mapper.class [J
Xrj{
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b>WT-.b0
org.apache.struts2.dispatcher.mapper.ActionMapper接口 9\2&6H
n5/Q)*e0'#
struts.multipart.maxSize lY`<-`{I_
The maximize size of a multipart request (file upload) kRPg^Fw"Vw
multipart请求信息的最大尺寸(文件上传用) ]42l:at
Mr(3]EfgO
struts.multipart.parser sxtGl^,mU:
The org.apache.struts2.dispatcher.multipart. .EwK>ro4
MultiPartRequest parser implementation for a multipart request (file upload) z(qz(`eGC&
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;;5i'h~?]J
i2E7$[
A\Gw+l<h,
struts.multipart.saveDir Q!v[b{]8
The directory to use for storing uploaded files "
cg>g/
设置存储上传文件的目录夹 KMcP !N.I
yW 3h_08
struts.objectFactory %#~Wk|8} Q
The com.opensymphony.xwork2.ObjectFactory implementation class (Bz(KyD[
com.opensymphony.xwork2.ObjectFactory接口(spring) >rubMGb
` 0F
IJT
struts.objectFactory.spring.autoWire I5]zOKlVR
Whether Spring should autoWire or not \mloR
'
是否自动绑定Spring u.6%n.g
v]~[~\|a
struts.objectFactory.spring.useClassCache 9`AQsZ2
Whether Spring should use its class cache or not S8l+WF4q
是否spring应该使用自身的cache 6s;x@g]
7Z_iQ1
struts.objectTypeDeterminer |1o]d$3m
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class VbjW$?
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 c/RG1w
uHYI :(O
struts.serve.static.browserCache _1ins;c52
If static content served by the Struts filter should set browser caching header properties or not #A!0KN;GC2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 yr?\YKV)I
Nsq%b?#
struts.serve.static 2ip~qZNw><
Whether the Struts filter should serve static content or not ^&By