struts2的struts.properties配置文件详解 #<EYO
={+8jQqi1
struts.action.extension }W&9} 9p"
The URL extension to use to determine if the request is meant for a Struts action {8oGWQgrj
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +C[g>c}d
OA(.&5]
struts.configuration F\L!.B
The org.apache.struts2.config.Configuration implementation class D/GE-lq
org.apache.struts2.config.Configuration接口名 RBBmGZ
Z!7xRy
struts.configuration.files 8/&4l,M5
A list of configuration files automatically loaded by Struts 51y#AQ@
struts自动加载的一个配置文件列表 _A])q
ic"8'Rwb
struts.configuration.xml.reload tC5-^5[y
Whether to reload the XML configuration or not ~_c1h@
是否加载xml配置(true,false) n.z,-H17
'+27_j
struts.continuations.package D9?.Ru0.
The package containing actions that use Rife continuations R=F_U
含有actions的完整连续的package名称 ]V_A4Df
:2&"ak>N
struts.custom.i18n.resources ODhq
`?(N
Location of additional localization properties files to load xwi6#>
加载附加的国际化属性文件(不包含.properties后缀) `E?0jQ
x~wS/y
struts.custom.properties -a &<Un/
Location of additional configuration properties files to load &I[` .:NJ
加载附加的配置文件的位置 $/B~ bJC
l;L_A@B<
%.?V\l
struts.devMode /-G_0A2wF
Whether Struts is in development mode or not ai-rF^ehC
是否为struts开发模式 Bc[~'gn
"H<us?r{
struts.dispatcher.parametersWorkaround @un+y9m[C
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S2_(lS+R
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L+(ng
~!!|#A)W
struts.enable.DynamicMethodInvocation |ns?c0rM
Allows one to disable dynamic method invocation from the URL )>S,#_e*b
允许动态方法调用 Z6A-i@
nSC2wTH!1
struts.freemarker.manager.classname JXYZ5&[
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class > pP&/
org.apache.struts2.views.freemarker.FreemarkerManager接口名 GNe^~
dRnf
struts.i18n.encoding XWyP'\
The encoding to use for localization messages _lFw1pa#\
国际化信息内码 l
$"hhI8
$2?j2}M
struts.i18n.reload IA({RE
Whether the localization messages should automatically be reloaded mbGma
是否国际化信息自动加载 P(TBFu
XclTyUGoK+
struts.locale 8.Y|I5l7G
The default locale for the Struts application aR/?YKA
默认的国际化地区信息 \r[u>7I
=R|XFZ,
struts.mapper.class Y`Io}h G$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vIbM@Y4
'?
org.apache.struts2.dispatcher.mapper.ActionMapper接口 i>s
P
<+0sh
struts.multipart.maxSize )AQ^PBwp
The maximize size of a multipart request (file upload) va'F '|
multipart请求信息的最大尺寸(文件上传用) E3]WRF;l
n=vDEX:'
struts.multipart.parser *{!Y_FrL
The org.apache.struts2.dispatcher.multipart. fzQR0
MultiPartRequest parser implementation for a multipart request (file upload) @qq"X'3t
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Wi'}d6c
z+yIP ?s}(
C?T\5}h
struts.multipart.saveDir gJ'pwSA
The directory to use for storing uploaded files eY5mwJ0K
设置存储上传文件的目录夹 Xa?O)Bq.
Qop,~yK
struts.objectFactory ABX%oZ7[|o
The com.opensymphony.xwork2.ObjectFactory implementation class }|Mwv
$`
com.opensymphony.xwork2.ObjectFactory接口(spring) *_o(~5w-K
kzDN(_<1
struts.objectFactory.spring.autoWire dQ.#8o=
Whether Spring should autoWire or not UI+6\ 3
是否自动绑定Spring O'mcN*
r(46jV.sD:
struts.objectFactory.spring.useClassCache L2ydyXIsd
Whether Spring should use its class cache or not K+F"V W*?
是否spring应该使用自身的cache _!@:@e)yB{
czuIs|_K*
struts.objectTypeDeterminer
p;w&}l{{
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +*:mKx@Nw
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /[.V( K
D
VNHceH
struts.serve.static.browserCache :~vodh
If static content served by the Struts filter should set browser caching header properties or not JhFbze>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |JxVfX8^
9Yv:6@. F
struts.serve.static %
D
Whether the Struts filter should serve static content or not O
{1" I
是否struts过滤器应该提供静态内容 iM)K:L7d
:_~.Nt
struts.tag.altSyntax 3k`Q]O=OU
Whether to use the alterative syntax for the tags or not LV^^Bd8Ct
是否可以用替代的语法替代tags v$|~
g'6
&aLTy&8Fv
struts.ui.templateDir
D}98ZKi
The directory containing UI templates , ~O>8VbF
UI templates的目录夹 IMH4GVr"
&>,;ye>A
struts.ui.theme K8;SE!
The default UI template theme Z~~6y6p
默认的UI template主题 iZ-R%- }B
.ybmJU*Hg
struts.url.http.port >8e)V
;
The HTTP port used by Struts URLs Mw/9DrE7/
设置http端口 A'DFY {
I)Xf4FS@
struts.url.https.port E1eGZ&&Gd
The HTTPS port used by Struts URLs CO='[1"_5
设置https端口 EfrQ~`\
,Vhve'=*2
struts.url.includeParams d Fy$ w=
The default includeParams method to generate Struts URLs s5nw<V9$]
在url中产生 默认的includeParams -3{Q`@F
)!2@v@SQ
kGYpJg9=
struts.velocity.configfile 0Z1ksfLU
The Velocity configuration file path ES~b f
velocity配置文件路径 u}[ a
q!y. cyL
struts.velocity.contexts @:C)^f"
List of Velocity context names :>0ywg
velocity的context列表 Lq2Q:w'
e= IdqkJ%
$[>{s9E
struts.velocity.manager.classname &<VU}c^!
org.apache.struts2.views.velocity.VelocityManager implementation class qzUiBwUi@
org.apache.struts2.views.velocity.VelocityManager接口名 y2jv84
M
S hI1f
struts.velocity.toolboxlocation .~f )4'T 9
The location of the Velocity toolbox mr\,"S-`
velocity工具盒的位置 (p-q>@m
struts.xslt.nocache Kjd3!%4mB
Whether or not XSLT templates should not be cached 0)ohab
是否XSLT模版应该被缓存 :y-;V