struts2的struts.properties配置文件详解 X~RET[L2
,cm;A'4]
struts.action.extension bA#E8dlC_
The URL extension to use to determine if the request is meant for a Struts action 1{+Ni{
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [.P~-6~
/A|cO
struts.configuration 3"'|Ql.H
The org.apache.struts2.config.Configuration implementation class ]3#_BL)M8p
org.apache.struts2.config.Configuration接口名 U[~BW[[@f
~..h=
struts.configuration.files 5v8&C2Jy@
A list of configuration files automatically loaded by Struts Ch
` Omq
struts自动加载的一个配置文件列表 (mHFyEG
-W>zON|l
struts.configuration.xml.reload lkp!S3,
Whether to reload the XML configuration or not r8C6bFYM
是否加载xml配置(true,false) xU1dy*-
gDnG!i+
struts.continuations.package m^_)aS
The package containing actions that use Rife continuations #'z\[^vp
含有actions的完整连续的package名称 WPyd ^Y<
ee&QZVL>
struts.custom.i18n.resources hD58 s"L$
Location of additional localization properties files to load ;B`e;B?1Q
加载附加的国际化属性文件(不包含.properties后缀) Ks09F}
z'r .LBnh
struts.custom.properties iXC/?
EK4
Location of additional configuration properties files to load U^ BB|
加载附加的配置文件的位置 O*oL(dk*8L
3 Yl[J;i
9!V<=0b/
struts.devMode Pw
/wAUt
Whether Struts is in development mode or not iZ[o2Tre
是否为struts开发模式 ,%dn)gt7
;BoeE3*
6
struts.dispatcher.parametersWorkaround V&KH{j/P
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic xPqpNs-,
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) n2-R[W^
=}7wpTc,
struts.enable.DynamicMethodInvocation @N.W#<IG
Allows one to disable dynamic method invocation from the URL s4SR6hBO
允许动态方法调用 ]8YHA}P
?Z!itB~
struts.freemarker.manager.classname R|t.wawCo
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5n.4>yOY
org.apache.struts2.views.freemarker.FreemarkerManager接口名 c#9 zw[y-L
^f!d8
V
struts.i18n.encoding &nPv%P,e
The encoding to use for localization messages =KT7ZSTV
国际化信息内码 NLb/Bja
D'O[0?N"g
struts.i18n.reload z[qM2
Whether the localization messages should automatically be reloaded w_eu@R:u@
是否国际化信息自动加载 CNcH)2Mk
0e8)*2S
struts.locale & A9psc(,&
The default locale for the Struts application _F^|n}Qbj
默认的国际化地区信息 OY~5o&Oa
?vf{v
struts.mapper.class WP^%[?S2
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class UDyvTfh1X
org.apache.struts2.dispatcher.mapper.ActionMapper接口 y9\s[}c_
_* 4
<
struts.multipart.maxSize )#3,y6
The maximize size of a multipart request (file upload) XrSqUD
multipart请求信息的最大尺寸(文件上传用) oB9Fas!N
p fAp2"
struts.multipart.parser 8qBRO[
The org.apache.struts2.dispatcher.multipart. ]RnX'yw^
MultiPartRequest parser implementation for a multipart request (file upload) */\dH<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) RWA|%/L
B5B'H3@
&;9<a^td
struts.multipart.saveDir /q='~t
The directory to use for storing uploaded files s'\"%~nF<
设置存储上传文件的目录夹 F$F5N1<
~>}BDsM
struts.objectFactory Bb:jy!jq_
The com.opensymphony.xwork2.ObjectFactory implementation class *N'B(j/
com.opensymphony.xwork2.ObjectFactory接口(spring) j-
F=5)A
$BH0W{S
struts.objectFactory.spring.autoWire 0?,EteR
Whether Spring should autoWire or not .M:,pw"S]
是否自动绑定Spring +$},Hu69j
"
I`YJEv
struts.objectFactory.spring.useClassCache (a7IxW
Whether Spring should use its class cache or not w #(XiH*
是否spring应该使用自身的cache GUat~[lUrj
|Z 3POD"9
struts.objectTypeDeterminer vn}Vb+@R
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^@X
=v`C
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N@)4H2_u \
X[;4.imE
struts.serve.static.browserCache kV6>O C&^
If static content served by the Struts filter should set browser caching header properties or not {AIZ,
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wV56LW
e4CG=K3s
struts.serve.static %_tL}m{?
Whether the Struts filter should serve static content or not e1&c_"TOih
是否struts过滤器应该提供静态内容 5-u=ZB%p
,st4K;-
struts.tag.altSyntax $#Ji=JX
Whether to use the alterative syntax for the tags or not u> >t"w
是否可以用替代的语法替代tags 0HxF#SlKM
:^iR&`2~
struts.ui.templateDir }
A#C
The directory containing UI templates Vi#(x9.
UI templates的目录夹 ~q|^z[7
v/yk T9@;
struts.ui.theme hDp'=}85@
The default UI template theme ;oR-\;]/.
默认的UI template主题 5&