struts2的struts.properties配置文件详解 j%0g*YI
[h
:FJ
struts.action.extension =1kjKE !
The URL extension to use to determine if the request is meant for a Struts action 1n
ZE9;o
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0xutG/-&N
64!V8&Ay
struts.configuration !91<K{#A{
The org.apache.struts2.config.Configuration implementation class ]_)=xF19
org.apache.struts2.config.Configuration接口名 HPWjNwM
VM
ny>g&3
struts.configuration.files
XN'X&J
A list of configuration files automatically loaded by Struts > cJX'U9
struts自动加载的一个配置文件列表 A7:W0Gg
[C~{g#
struts.configuration.xml.reload X"G3lG
Whether to reload the XML configuration or not y+[wlo&WC
是否加载xml配置(true,false) Yc'7F7.<6
[26([H
struts.continuations.package YI?y_S
The package containing actions that use Rife continuations HaamLu
含有actions的完整连续的package名称 }oTac
~&IL>2-B
struts.custom.i18n.resources P(r}<SM
Location of additional localization properties files to load 80M4~'3
加载附加的国际化属性文件(不包含.properties后缀) KK*"s^L
0:Lm=9o
struts.custom.properties cE=v566
Location of additional configuration properties files to load IF*kLl?
加载附加的配置文件的位置 hE/y"SP3
I-q@@!=
>&9Iy"
struts.devMode C>7k|;BvF
Whether Struts is in development mode or not `qsn;
是否为struts开发模式 eVWnD,'
]HP
struts.dispatcher.parametersWorkaround e{9(9qE"
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ad7=JzV
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [! :.9
Hv>Hz*s_I
struts.enable.DynamicMethodInvocation G#0 4h{
Allows one to disable dynamic method invocation from the URL M:(k7a+[^
允许动态方法调用 UIv
2wA2
71w$i
4
struts.freemarker.manager.classname \h"QgHzp
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Im_`q\i
org.apache.struts2.views.freemarker.FreemarkerManager接口名 MgLz:2
:F
N|1k6g=0
struts.i18n.encoding !'C^qrh
The encoding to use for localization messages *K\/5Fzl
国际化信息内码 D &wm7,
3C8'@-U
struts.i18n.reload Z,,Wo
%)o
Whether the localization messages should automatically be reloaded r,b-c
是否国际化信息自动加载 (#.)~poZ
/$x6//0If
struts.locale 18!0Hl>
The default locale for the Struts application lBTgI"n=eK
默认的国际化地区信息 D`.CXFI+U
Efw/bTEg
struts.mapper.class |^@TA=_
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o0Hh&:6!M
org.apache.struts2.dispatcher.mapper.ActionMapper接口 L+QEFQ:r5
$y> J=
struts.multipart.maxSize 8DLMxG
The maximize size of a multipart request (file upload) ,k@fXoW
multipart请求信息的最大尺寸(文件上传用) ?
B^*YCo7(
4 ITSDx
struts.multipart.parser &e%y|{Y
The org.apache.struts2.dispatcher.multipart. Wm.SLr,o0
MultiPartRequest parser implementation for a multipart request (file upload) rq6(^I
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s 4}}MV3X
I)O-i_}L&K
c Ew/F0
struts.multipart.saveDir ]0dp^%
The directory to use for storing uploaded files Rm *"SG
设置存储上传文件的目录夹 `h
Y:F(
D1lHq/
struts.objectFactory bd<zn*HZ*
The com.opensymphony.xwork2.ObjectFactory implementation class x<=+RYz#^:
com.opensymphony.xwork2.ObjectFactory接口(spring) Xf9VW}`*8
_&JlE$ua7
struts.objectFactory.spring.autoWire Ty]CdyL$
Whether Spring should autoWire or not 5NeEDY2%#
是否自动绑定Spring t L;;Yt
7IZ(3B<87t
struts.objectFactory.spring.useClassCache q^dI!93n|
Whether Spring should use its class cache or not ScfW;
是否spring应该使用自身的cache w];t ]q|
iygdX2
struts.objectTypeDeterminer /sdkQ{J!.
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,)Z^b$H]
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 WohK,<Or
'J<KL#og
struts.serve.static.browserCache 'L0 2lM
If static content served by the Struts filter should set browser caching header properties or not c#`Z[
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S3j/(BG
M* QqiE
struts.serve.static })bTQj7
Whether the Struts filter should serve static content or not 0 x"3
是否struts过滤器应该提供静态内容 x_(B7ob
NCSb`SC:
struts.tag.altSyntax Q9#$4
Whether to use the alterative syntax for the tags or not ]Wv\$JXI
是否可以用替代的语法替代tags **0Y*Ax@
l=EIbh
struts.ui.templateDir XX}RbE#4
The directory containing UI templates }
"y{d@
UI templates的目录夹 94|BSxc
KY"W{D9ib
struts.ui.theme I%*o7"
The default UI template theme +5);"71
默认的UI template主题 iAWPE`u4
&g@?{5FP
struts.url.http.port UwdcU^xt9
The HTTP port used by Struts URLs `t ZvIy*
设置http端口 :fpYraBM
bUz7!M$
struts.url.https.port |n~,$
The HTTPS port used by Struts URLs O2Rv^la
设置https端口 S <|e/![@
0-4WLMx
struts.url.includeParams XRj<2U5
The default includeParams method to generate Struts URLs lgA9p
4-
在url中产生 默认的includeParams "vjz $.
a*S4rq@
R[Kyq|UyVr
struts.velocity.configfile aCFO]
The Velocity configuration file path cy/;qd+!M
velocity配置文件路径 &Cdk%@Tj]B
1"~@UcJ
struts.velocity.contexts
@oug^]a
List of Velocity context names k9WihejS
velocity的context列表 LfrS:g
&HZ"<y{j
7PP76$
struts.velocity.manager.classname i6(y Bn
org.apache.struts2.views.velocity.VelocityManager implementation class xk.\IrB_
org.apache.struts2.views.velocity.VelocityManager接口名 }3^t,>I=,6
jcOxtDTSW
struts.velocity.toolboxlocation .#J'+LxFr
The location of the Velocity toolbox ;9 XM
s)
velocity工具盒的位置 i~.L{K
struts.xslt.nocache J0lTp /
Whether or not XSLT templates should not be cached =JNoC01D
是否XSLT模版应该被缓存 qV^,muyoG