struts2的struts.properties配置文件详解 : [q0S@
MtS3p>4
struts.action.extension v2Bzx/F:
The URL extension to use to determine if the request is meant for a Struts action dBSbu=^$ )
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 v,=v
jjRUL.
struts.configuration B
z^|SkEit
The org.apache.struts2.config.Configuration implementation class q2hFOm
org.apache.struts2.config.Configuration接口名 %SrM|&[
M|q~6oM
struts.configuration.files #] CFA9z
A list of configuration files automatically loaded by Struts $&{ti.l
struts自动加载的一个配置文件列表 =-NiO@5o
O.,3|
struts.configuration.xml.reload hfqqQ!,l!
Whether to reload the XML configuration or not ~*M$O &
是否加载xml配置(true,false) !*aPEf270
u: &o}[
struts.continuations.package ~e `Bq>
The package containing actions that use Rife continuations #`(WUn0H?
含有actions的完整连续的package名称 ]PWDE"
^Dg<Ki
struts.custom.i18n.resources sV/l5]b]
Location of additional localization properties files to load >@_im6
加载附加的国际化属性文件(不包含.properties后缀) UDy(dn>J:J
&$'z
struts.custom.properties \8S~c8Z~
Location of additional configuration properties files to load uI~s8{0T6
加载附加的配置文件的位置 )[L^Dmd,
).5RPAP
qnM|w~G
struts.devMode :`\)
P,
Whether Struts is in development mode or not BecPT
是否为struts开发模式 :u6JjW[a)
PRkSQ4
struts.dispatcher.parametersWorkaround P?LlJ5hn
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %ft &Q
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) iCj2"T4TN
r@U3sO#N
struts.enable.DynamicMethodInvocation Bj Wr5SJ
Allows one to disable dynamic method invocation from the URL (Glr\q]jF\
允许动态方法调用 IvHh4DU3Z
=-KMb`xT
struts.freemarker.manager.classname slu(SmQ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0*;O?T
org.apache.struts2.views.freemarker.FreemarkerManager接口名 \3Pv# )
~j>D=!
struts.i18n.encoding |&3x#1A
The encoding to use for localization messages 7%MbhlN.
国际化信息内码 DC+b=IOz
Y ^KTkS0D
struts.i18n.reload )yG"^Ulu
Whether the localization messages should automatically be reloaded fX~'Zk\u
是否国际化信息自动加载 aAE>)#f(
:#5xA?=*
S
struts.locale 6E~g# (8
The default locale for the Struts application 2S"Nf8>zp
默认的国际化地区信息 69m
;XdkKz
s 5WqR8
struts.mapper.class JL=U,Mr6
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bWWXc[O2&(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 %FZ2xyI.
6e,xDr
struts.multipart.maxSize .IarkeCtb
The maximize size of a multipart request (file upload) K+*Q@R D
multipart请求信息的最大尺寸(文件上传用) 6$U]9D
m)v''`9LU
struts.multipart.parser mLh kI!4[
The org.apache.struts2.dispatcher.multipart. dS2G}L^L
MultiPartRequest parser implementation for a multipart request (file upload) j;b42G~p
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #[{3} %b
N_eX/ux
*N'K/36;
struts.multipart.saveDir *NFg;<:j
The directory to use for storing uploaded files )s_n
设置存储上传文件的目录夹 cD*}..-/4
=GlVc cc
struts.objectFactory Ub1hHA*)
The com.opensymphony.xwork2.ObjectFactory implementation class 1MlUG5
com.opensymphony.xwork2.ObjectFactory接口(spring) !RB)_7
6W[}$#w
struts.objectFactory.spring.autoWire $+JS&k/'m
Whether Spring should autoWire or not U>Ld~cw
是否自动绑定Spring Wj|alH9<
gr-9l0u
struts.objectFactory.spring.useClassCache FBx_c;)9Z
Whether Spring should use its class cache or not o?L'Pg
是否spring应该使用自身的cache YB<*"HxM)}
W>_]dPB S/
struts.objectTypeDeterminer ?eH&'m}-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S$)*&46g
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >Y7a4~ufko
2H71~~ c
struts.serve.static.browserCache }KUd7[s
If static content served by the Struts filter should set browser caching header properties or not GSclK|#tE
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <8,o50`B
]i(-I <`
struts.serve.static SIO&rrT.
Whether the Struts filter should serve static content or not 7tUA>;++
是否struts过滤器应该提供静态内容 '* mH*?Y
&Z(K6U#.
struts.tag.altSyntax |-sPLU&s%
Whether to use the alterative syntax for the tags or not F+R?a+e
是否可以用替代的语法替代tags S/|,u`g-
:B3[:MpL}
struts.ui.templateDir j',W 64
The directory containing UI templates k@zy
UI templates的目录夹 v+p{|X-
0a8/B>
struts.ui.theme {3;AwhN0H
The default UI template theme &'cL%.
默认的UI template主题 vEf4HZ&w
\(226^|j
struts.url.http.port 8fA_p}wp
The HTTP port used by Struts URLs mxor1P#|
设置http端口 x{D yTtX<
QaUm1i#
struts.url.https.port +uay(3m((
The HTTPS port used by Struts URLs 7Q\|=$2
设置https端口 mc=LP>uoS
DPi_O{W>
struts.url.includeParams U*90m~)
The default includeParams method to generate Struts URLs J+rCxn?;g
在url中产生 默认的includeParams R1Sy9x .
HhO".GA
hxce\OuU0h
struts.velocity.configfile %ZHP2j
%~
The Velocity configuration file path "KcA
velocity配置文件路径 n>@oBG)!
W3`>8v1?o
struts.velocity.contexts zJe#m|Z
List of Velocity context names f{SB1M
velocity的context列表 )`^p%k
[MuEoWrq(}
),%6V5a+E
struts.velocity.manager.classname wFG3KzEq ~
org.apache.struts2.views.velocity.VelocityManager implementation class {U&.D
[{&
org.apache.struts2.views.velocity.VelocityManager接口名 vJAZ%aW
!9 fz(9
struts.velocity.toolboxlocation +P.+_7+:
The location of the Velocity toolbox ^C2\`jLMY
velocity工具盒的位置 U,nEbKJgk
struts.xslt.nocache KWLbD#
Whether or not XSLT templates should not be cached pr%nbl
是否XSLT模版应该被缓存 \u6^Varw