struts2的struts.properties配置文件详解 Mf !S'\
Igw2n{})w
struts.action.extension 0~P]Fw^w
The URL extension to use to determine if the request is meant for a Struts action _~'MQ`P
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WJI}~/z;C
pNZ3vTs6
struts.configuration C+>mehDC_G
The org.apache.struts2.config.Configuration implementation class l5]R*mR
org.apache.struts2.config.Configuration接口名 wn|;Li
}{kn/m/
struts.configuration.files XfflD9M
A list of configuration files automatically loaded by Struts 7IQaXcl
struts自动加载的一个配置文件列表 'n^?DPvD
9Zf
struts.configuration.xml.reload ~*J
<lln
Whether to reload the XML configuration or not qu!x#OY+
是否加载xml配置(true,false) 7HQL^Q
atW^^4:
struts.continuations.package hsJ^Au=})w
The package containing actions that use Rife continuations TtnJ
u*
含有actions的完整连续的package名称 i[MBO`FF
.tHjGx
struts.custom.i18n.resources _00}O+GLM4
Location of additional localization properties files to load +Z-{6C
加载附加的国际化属性文件(不包含.properties后缀) C1(RgY|
Z[l+{
struts.custom.properties ,9"du
Location of additional configuration properties files to load \gK'g-)}
加载附加的配置文件的位置 .mg0L\
Pa#Jwo
LN5BU,4=
struts.devMode L@jpid95
Whether Struts is in development mode or not [O} D^qp
是否为struts开发模式 1f1D^|
WnU2.:
struts.dispatcher.parametersWorkaround @P>>:002/
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7h2/8YUgQ
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) W#kyD)(F
^CM@VmPp
struts.enable.DynamicMethodInvocation ;8f)p9vE
Allows one to disable dynamic method invocation from the URL 8r:T&)v
允许动态方法调用 7xY&7 x(v
Z-pZyDz
struts.freemarker.manager.classname qT:`F
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;8
*"c
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Tr4\ `a-i
C-@M|K9A'
struts.i18n.encoding S6C DK:
The encoding to use for localization messages g;OR{
国际化信息内码 YHke^Ind
&~x |w6M]J
struts.i18n.reload `Fe/=]<$
Whether the localization messages should automatically be reloaded 3u 7A(
是否国际化信息自动加载 %KN2iNq
Xr4k]'Mg
struts.locale p2fzbBt
The default locale for the Struts application ~(NFjCUY?
默认的国际化地区信息 DHyQ:0q
n{qVF#N_
struts.mapper.class BeD>y@ it
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class jeO`45O
org.apache.struts2.dispatcher.mapper.ActionMapper接口 UF\k0oLz
7L6^IK
struts.multipart.maxSize {w,<igh
The maximize size of a multipart request (file upload) s<:);-tL
multipart请求信息的最大尺寸(文件上传用) `K[r5;QFKf
C43I(.2g
struts.multipart.parser 8/y8tMm]
The org.apache.struts2.dispatcher.multipart. paYS<8In
MultiPartRequest parser implementation for a multipart request (file upload) 6/p9ag]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) rTOex]@N
&uV|Ie8@q
c=a;<,Rzb
struts.multipart.saveDir !c0x^,iE
The directory to use for storing uploaded files o/vD]Fs
设置存储上传文件的目录夹 o)CW7Y#?,
h+cOOm-)
struts.objectFactory . S;o#Zw*R
The com.opensymphony.xwork2.ObjectFactory implementation class "]=XB0)
com.opensymphony.xwork2.ObjectFactory接口(spring) )7AjRtb!/
<h<_''+
struts.objectFactory.spring.autoWire P.=Dd"La
Whether Spring should autoWire or not W>,D$
是否自动绑定Spring sebuuL.l0<
5nmE*(
struts.objectFactory.spring.useClassCache jH;L7
Whether Spring should use its class cache or not 9I#a{%A:
是否spring应该使用自身的cache p^p1{%=
N[DKA1Ei
struts.objectTypeDeterminer G[fg!vig#7
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s%m?Yh3
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O -p^S
o?3C -A|
struts.serve.static.browserCache !HW?/-\,O
If static content served by the Struts filter should set browser caching header properties or not /R(
.7 N
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 gy#G; 9p
|uRYejj#j
struts.serve.static mVK^gJ3
Whether the Struts filter should serve static content or not Tv%
Z|%*
是否struts过滤器应该提供静态内容 }Py Z{yS
q^QLNKOH"
struts.tag.altSyntax ,ob)6P^rw
Whether to use the alterative syntax for the tags or not 9om}j
是否可以用替代的语法替代tags JxRn)D
.g=D70
struts.ui.templateDir 5fp&!HnG
The directory containing UI templates -.Z;n1'^
UI templates的目录夹 "9y0]~
sE^=]N
struts.ui.theme @ "CP@^
The default UI template theme K2tOt7M!
默认的UI template主题 )Oj{x0{\Q
A{DE7gp!
struts.url.http.port mP_c-qD
|
The HTTP port used by Struts URLs }\W^$e-
设置http端口 nfE4rIE4
8ROZ]Xh,x
struts.url.https.port 'puiahA
The HTTPS port used by Struts URLs sB'~=1m^
设置https端口 -8t&&fIA
5&134!hC
struts.url.includeParams jF{\=&fU
The default includeParams method to generate Struts URLs &Z7 NF|
在url中产生 默认的includeParams M-C>I;a
j[fY.>yt&
9t&m\J
>8;
struts.velocity.configfile ]"\sd"
The Velocity configuration file path :HH3=.qAp`
velocity配置文件路径 ;7mE%1X
"^VPe[lA
struts.velocity.contexts 1?".R]<{2T
List of Velocity context names r}#,@<
velocity的context列表 C4eQ.ep
T2XLP
&2pa9i
struts.velocity.manager.classname
?!n0N\|i]
org.apache.struts2.views.velocity.VelocityManager implementation class f;,^
]mw
org.apache.struts2.views.velocity.VelocityManager接口名 \U HI%1^
z?C&,mv
struts.velocity.toolboxlocation R!RgQwEak
The location of the Velocity toolbox U#(#U0s*-
velocity工具盒的位置 VCvFCyAz
struts.xslt.nocache S&Sa~Oq<o
Whether or not XSLT templates should not be cached 1u_< 1X3
是否XSLT模版应该被缓存 'oZdMl&