struts2的struts.properties配置文件详解 *8H;KGe=
86F+N_>Z
struts.action.extension 12xP)*:$
The URL extension to use to determine if the request is meant for a Struts action >8O=^7
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Bqlc+d:
em!R9J.
struts.configuration _Pi:TxY
The org.apache.struts2.config.Configuration implementation class N|2
org.apache.struts2.config.Configuration接口名 B1#>$"_0}=
(1j$*?iGA
struts.configuration.files L"6/"L
A list of configuration files automatically loaded by Struts $ _Bu,;
struts自动加载的一个配置文件列表 t~K!["g
4(GgaQFO?
struts.configuration.xml.reload f+Li'?
Whether to reload the XML configuration or not C*e[CP@u
是否加载xml配置(true,false) g
'a?
72vGfT2HtZ
struts.continuations.package =e-aZ0P
The package containing actions that use Rife continuations x>"JWD
含有actions的完整连续的package名称 -L?%
o_
8z8SwWS?
struts.custom.i18n.resources 4$GRCq5N;
Location of additional localization properties files to load A;a(n\Sy
加载附加的国际化属性文件(不包含.properties后缀) V9+"CB^
Sc3M#qm_
struts.custom.properties E(+wl
Location of additional configuration properties files to load ,<r 3Z$G
加载附加的配置文件的位置 "sX?wTag
SJ7=<y}[d
<?Izfl6
struts.devMode ={@ @`yP^$
Whether Struts is in development mode or not 6 Ok=q:;
是否为struts开发模式 |P0L,R
Y6?mY!
struts.dispatcher.parametersWorkaround SSbK[aR
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T4Gw\Z%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vP)~j1
-U;LiO;N
struts.enable.DynamicMethodInvocation '!h0![OH
Allows one to disable dynamic method invocation from the URL h]DECd{
允许动态方法调用 MGyB8(
KXA)i5z
struts.freemarker.manager.classname ::R00gd
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class aC
Lg~g4
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7oLf5V1~
}\L!;6oy
struts.i18n.encoding [Pc[{(
The encoding to use for localization messages UMi`u6#
国际化信息内码 gIM'bA<~
9.OwH(Ax7
struts.i18n.reload 15T[J%7f
Whether the localization messages should automatically be reloaded 9AddF*B
是否国际化信息自动加载 J}_Dpb [L
R{KIkv
struts.locale )^>XZ*eK
The default locale for the Struts application t:sq*d
默认的国际化地区信息 SLjf<.S
F@'rP++4
struts.mapper.class
{%~4RZA
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C
3XZD4.2
org.apache.struts2.dispatcher.mapper.ActionMapper接口 [x p,&
!5SQN5K
struts.multipart.maxSize )Z]y.W )
The maximize size of a multipart request (file upload) UK_aqB
multipart请求信息的最大尺寸(文件上传用) DcR}pQ(e
D62
NU
struts.multipart.parser <6O_t,K]
The org.apache.struts2.dispatcher.multipart. >aC\_Mc
MultiPartRequest parser implementation for a multipart request (file upload) ZWhmO=b!
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tvH\iS #V
xm,`4WdG
V;hwAQbF
struts.multipart.saveDir [H:GKhPC`
The directory to use for storing uploaded files Z*9]:dG:!
设置存储上传文件的目录夹 , 64t
]baaOD$Z
struts.objectFactory &<|-> *v
The com.opensymphony.xwork2.ObjectFactory implementation class FJ(B]n[>
com.opensymphony.xwork2.ObjectFactory接口(spring) oYh<k
[+MX$y
struts.objectFactory.spring.autoWire .i&ZT}v3
Whether Spring should autoWire or not $K_YC~
是否自动绑定Spring 2
ssj(Qo
DMcxa.Sd!
struts.objectFactory.spring.useClassCache [kuVQ$)
Whether Spring should use its class cache or not YyJ{
是否spring应该使用自身的cache .F$|j1y
87pXv6'FQ
struts.objectTypeDeterminer Sa1z,EP
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *zVLy^L_8
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;y~{+{{Ow
7}cDGdr
struts.serve.static.browserCache D@\;@(
|
If static content served by the Struts filter should set browser caching header properties or not H9san5{
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 c6Aut`dK
"ryk\}*<
struts.serve.static ^L-w(r62<
Whether the Struts filter should serve static content or not #;"D)C
是否struts过滤器应该提供静态内容 r -q3+c^+
iA3>X-x
struts.tag.altSyntax d=Df.H+3
Whether to use the alterative syntax for the tags or not jWK@NXMH
是否可以用替代的语法替代tags #3Ej0"A@-B
!H1tBg]5
struts.ui.templateDir rx6-~0!eI=
The directory containing UI templates E R]sDV
UI templates的目录夹 RE>ks[
%t~SOkx
struts.ui.theme b WbXh$
The default UI template theme E<<p_hX8R
默认的UI template主题 U7B/t3,=U
QSF"8Uk
struts.url.http.port { 8f+h
The HTTP port used by Struts URLs S'!q}|7X3
设置http端口 =%3b@}%HqS
`e $n$Bh
struts.url.https.port ![@T iM
The HTTPS port used by Struts URLs 45+%K@@x
设置https端口 2\nN4WL
5.
)jlP
cO-
struts.url.includeParams x9)aBB
The default includeParams method to generate Struts URLs O b8B
在url中产生 默认的includeParams sCF40AoY&
Zgg'9E
gmRT1T
struts.velocity.configfile zRV!(Y
The Velocity configuration file path BeI;#m0
velocity配置文件路径 N~):c2Kp<9
ss`P QN
struts.velocity.contexts -*|:v67C&
List of Velocity context names /BMtcCPG!
velocity的context列表 +%Lt". o
`s`C{|wv
/}w#Jk4pD
struts.velocity.manager.classname )_77>f%
org.apache.struts2.views.velocity.VelocityManager implementation class ?Ml%$z@b?
org.apache.struts2.views.velocity.VelocityManager接口名 h@~:(:zU$
Il{^
j6
struts.velocity.toolboxlocation Sk/#J!T8{
The location of the Velocity toolbox (S
k#x
velocity工具盒的位置 iUI y,Y
struts.xslt.nocache
@8=vFP'
Whether or not XSLT templates should not be cached ,M)k7t:
是否XSLT模版应该被缓存 l] _b;iux