struts2的struts.properties配置文件详解 Q:v9C ^7
O,D/&0
struts.action.extension \c1NIuJR
The URL extension to use to determine if the request is meant for a Struts action 178u4$# b
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :6T8\W
AcoU.tpP
struts.configuration iHYvH
The org.apache.struts2.config.Configuration implementation class |Q|vCWel{
org.apache.struts2.config.Configuration接口名 h=x{
3P;B
;:`0:Ao.
struts.configuration.files
4tGP-
L
A list of configuration files automatically loaded by Struts 6he (v
struts自动加载的一个配置文件列表 G+k~k/D 6
fR^aFT
struts.configuration.xml.reload :nLhg$wMs
Whether to reload the XML configuration or not s{Wj&.)M
是否加载xml配置(true,false) 1woBw>g
}Ghh%]
struts.continuations.package 9im<J'
The package containing actions that use Rife continuations /c4@QbB
含有actions的完整连续的package名称 5H{dLZ],
,suC`)R
struts.custom.i18n.resources RZL:k;}5
Location of additional localization properties files to load mI4)+8SUu
加载附加的国际化属性文件(不包含.properties后缀) $qp,7RW
`A0trC3
struts.custom.properties |to|kU
Location of additional configuration properties files to load I_aSC 4
加载附加的配置文件的位置 gX'nFGqud
\v,mr|
%=PGvu
struts.devMode "TQ3{=j{
Whether Struts is in development mode or not T+knd'2V6
是否为struts开发模式 _oU}>5
k6(9Rw8bCk
struts.dispatcher.parametersWorkaround QRw/d}8l
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >cdxe3I\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \J?l7mG
QE\t}>
struts.enable.DynamicMethodInvocation }
N$soaUs
Allows one to disable dynamic method invocation from the URL y]YUuJ9a
允许动态方法调用 t Urwg
%=G*{mK
struts.freemarker.manager.classname 15)y]N={^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class OtsW>L@ O(
org.apache.struts2.views.freemarker.FreemarkerManager接口名 "'9[c"Iz
==^9_a^
struts.i18n.encoding +`p@md2L1
The encoding to use for localization messages QKAt%"1&
国际化信息内码 ?*K{1Ghf
W&'[Xj
struts.i18n.reload Up*.z\|'y
Whether the localization messages should automatically be reloaded M~SbIk<#a<
是否国际化信息自动加载 z{uRqAG
YB?5s`vr9d
struts.locale ]hC6PKJU
The default locale for the Struts application 1 Vq)& N
默认的国际化地区信息 pf%B
o
00(\ -eb
struts.mapper.class R>CIEL
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6
h%%?
org.apache.struts2.dispatcher.mapper.ActionMapper接口 \[CPI`yQe
h!4jl0oX]
struts.multipart.maxSize 2g`<*u*
The maximize size of a multipart request (file upload) Kc,=J?Ob
multipart请求信息的最大尺寸(文件上传用) ->q^$#e
{g@?\
struts.multipart.parser wBaIN]Y,
The org.apache.struts2.dispatcher.multipart. dPx{9Y<FzU
MultiPartRequest parser implementation for a multipart request (file upload) rd\:.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) iQ7S*s+l5O
&X`zk
LagHzCB
struts.multipart.saveDir [>#@?@x`P
The directory to use for storing uploaded files rq]zt2
设置存储上传文件的目录夹 fk)5TPc^
EW}7T3g
struts.objectFactory DX\|*:,
The com.opensymphony.xwork2.ObjectFactory implementation class fvH4<c5x
com.opensymphony.xwork2.ObjectFactory接口(spring) Q.zE}ZS
\(g/::|
struts.objectFactory.spring.autoWire +jifbf-
Whether Spring should autoWire or not 3;t {V$
是否自动绑定Spring fZ7Ap3dmP
#UYrSM@u
struts.objectFactory.spring.useClassCache W5c?f,
Whether Spring should use its class cache or not :IB@@5r1
是否spring应该使用自身的cache s(u,mtG
q wd7vYBc,
struts.objectTypeDeterminer M0$wTmXM
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "IE*MmsEz
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [i 7^a/e
{%! >0@7
struts.serve.static.browserCache $?FA7=_
If static content served by the Struts filter should set browser caching header properties or not |tVWmm^m
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 c1>:|D7w
J4VyP["m
struts.serve.static 6upCL:A~r
Whether the Struts filter should serve static content or not vk>EFm8l
是否struts过滤器应该提供静态内容 =j&qat
D$&LCW#x
struts.tag.altSyntax /jB0
Whether to use the alterative syntax for the tags or not iFBH;O_~
是否可以用替代的语法替代tags /'<Qk'
(t%+Z"j
struts.ui.templateDir ^{+,j}V_H
The directory containing UI templates 3~5%6`
UI templates的目录夹 7LZA!3
I4RUXi 5
struts.ui.theme
|vVcO
The default UI template theme |Js?@
默认的UI template主题 V#-\ 4`c
3l?-H|T
struts.url.http.port 2"IsNbWV
The HTTP port used by Struts URLs ~V`F5B
设置http端口 N |nZf5{
+[C><uP
struts.url.https.port \'[C_+;X
The HTTPS port used by Struts URLs .R! /?eN
设置https端口 S)L(~N1
,2*x4Gycb
struts.url.includeParams z!>
H^v
The default includeParams method to generate Struts URLs Z}NMDb:t
在url中产生 默认的includeParams RX6s[uQ
x+;"(]#
Y[p
struts.velocity.configfile Rk(2|I
The Velocity configuration file path )Co&(;zf
velocity配置文件路径 f0Zn31c^
z pV+W-j]
struts.velocity.contexts JA(M'&q4
List of Velocity context names KvtX>3#qM
velocity的context列表 "H"4]m1Wc
YgfQ{3^I
zhW.0:9
CR
struts.velocity.manager.classname fJ8Q\lb<_
org.apache.struts2.views.velocity.VelocityManager implementation class ,lUr[xzV
org.apache.struts2.views.velocity.VelocityManager接口名 lQ!)0F
hO H
DXc"
struts.velocity.toolboxlocation gT8% ?U:
The location of the Velocity toolbox b$O1I[o
velocity工具盒的位置 x=jS=3$8
struts.xslt.nocache ^`<
%Pk
Whether or not XSLT templates should not be cached XaH%i~}3
是否XSLT模版应该被缓存 ?VaAVxd29