struts2的struts.properties配置文件详解 u8+<uWB
>z>UtT:
struts.action.extension Mky$#SI11
The URL extension to use to determine if the request is meant for a Struts action ;f=:~go
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .7ahz8v
p\+#`] Q7}
struts.configuration /D1Bf:'(
The org.apache.struts2.config.Configuration implementation class gW/H#T,
org.apache.struts2.config.Configuration接口名 7 aDI6G
S~(4q#Dt-
struts.configuration.files &U4]hawbOU
A list of configuration files automatically loaded by Struts ^}/YGAA
struts自动加载的一个配置文件列表 5\R8>G~H
?aOR ^ K
struts.configuration.xml.reload qgI
Jg6x/}
Whether to reload the XML configuration or not ;jX_e(T3m
是否加载xml配置(true,false) =!#DUfQf
7w>"M
struts.continuations.package ,yV
pB)IQ
The package containing actions that use Rife continuations GdG%=+
含有actions的完整连续的package名称 |i|YlWQS
EF"ar
struts.custom.i18n.resources T?AGQcG
Location of additional localization properties files to load .8b4
加载附加的国际化属性文件(不包含.properties后缀) P2`ks[u+i
\M>AN
Z}
struts.custom.properties Q.z2 (&
Location of additional configuration properties files to load }[LK/@h
加载附加的配置文件的位置 3q pkMu3
_JR4
PKtx
OQ+?nB
struts.devMode 2i,Jnv=sR
Whether Struts is in development mode or not =_^g]?5i
是否为struts开发模式 ik8e
et9c<'
struts.dispatcher.parametersWorkaround hp,T(D|
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /jj!DO#
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7DOAG[gH
]"/ *7NM
struts.enable.DynamicMethodInvocation ,l0s(Cg
Allows one to disable dynamic method invocation from the URL GExG1n-
允许动态方法调用 5Qy,Pkje
f1=8I_>=
struts.freemarker.manager.classname uUc[s"\
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XJ?@l3D:
org.apache.struts2.views.freemarker.FreemarkerManager接口名 +Kf::[wP7
J,7_5V@jJ
struts.i18n.encoding a#uJzYB0
The encoding to use for localization messages n0vPW^EQ
国际化信息内码 ^f<f&V
5)T{iPU%X
struts.i18n.reload !Id F6 %
Whether the localization messages should automatically be reloaded cq[}>5*k
是否国际化信息自动加载 R`1$z8$
zR{TWk]
struts.locale gvcT_'
The default locale for the Struts application f^$\+H"W
默认的国际化地区信息 \s~W;m
jU4Ir{f
struts.mapper.class zcxG%? Q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OVj,qL)
org.apache.struts2.dispatcher.mapper.ActionMapper接口 9 z3Iwl
j<l>+.,
U
struts.multipart.maxSize E> 4
\9
The maximize size of a multipart request (file upload) )$th${pd#v
multipart请求信息的最大尺寸(文件上传用) Uj!L:u2b
4
Qw;r
struts.multipart.parser @&EP&
$*
The org.apache.struts2.dispatcher.multipart. $7BD~U
MultiPartRequest parser implementation for a multipart request (file upload) k?S-peyRO
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 58v5Z$%--
u[dI81`
VKR6 i
struts.multipart.saveDir 0hNc#x6
The directory to use for storing uploaded files .Dx]wv
设置存储上传文件的目录夹 -C8awtbC
G 8NSBaZe
struts.objectFactory Pc4sReo'
The com.opensymphony.xwork2.ObjectFactory implementation class l;|1C[V
com.opensymphony.xwork2.ObjectFactory接口(spring) 0j_!)B
JT_#>',
struts.objectFactory.spring.autoWire P AKh v.7
Whether Spring should autoWire or not }>0UaK
是否自动绑定Spring x`o_&09;CG
hOwVm;:
struts.objectFactory.spring.useClassCache SnXYq7`t
Whether Spring should use its class cache or not #a .aD+d'
是否spring应该使用自身的cache #vDe/o+=
Q7DkhKT
struts.objectTypeDeterminer fq F1-%
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Y:byb68
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 eA+6-'qN
0&mz'xra
struts.serve.static.browserCache Zmp ^!|=X!
If static content served by the Struts filter should set browser caching header properties or not 5|>jz `
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >5 i8%r
5 TnECk
struts.serve.static #v~5f;[AAs
Whether the Struts filter should serve static content or not ^T<<F}@q
是否struts过滤器应该提供静态内容 #K4wO!d
6'Lij&,f?{
struts.tag.altSyntax 7M$>'PfO
Whether to use the alterative syntax for the tags or not T
%cN(0@
是否可以用替代的语法替代tags i^gzl_!
|5FyfDaFBX
struts.ui.templateDir ^(6.M\Q
The directory containing UI templates GQ[\R&]q<
UI templates的目录夹 H7\EvIM=
;ga~ae=Fg
struts.ui.theme RWoa'lnu
The default UI template theme C"F(kgL
默认的UI template主题 8<g5.$xyz
#cmj?y()
struts.url.http.port 7,(:vjIXd
The HTTP port used by Struts URLs ].Et&v
设置http端口 \?GMtM,
3-Ti'xM
struts.url.https.port .IYE"0)wJ
The HTTPS port used by Struts URLs yt<K!=7&
设置https端口 ^ 5UIbA(
QGYmQ9m{kL
struts.url.includeParams 2} T"|56
The default includeParams method to generate Struts URLs M<)HJ lr
在url中产生 默认的includeParams gGZ$}vX
GbMSO
zx\?cF
struts.velocity.configfile YxsWY7J
The Velocity configuration file path g@S"!9[;U
velocity配置文件路径 G_X'd
ci*Z9&eS+
struts.velocity.contexts X"[c[YT!%[
List of Velocity context names >Ks| yNJ
velocity的context列表 #|gt(p]C
P [gqv3V
D+k5e=
struts.velocity.manager.classname Dpof~o,f
org.apache.struts2.views.velocity.VelocityManager implementation class <)"Mi}Q[)p
org.apache.struts2.views.velocity.VelocityManager接口名 gE:qMs;
v'DL >Y
struts.velocity.toolboxlocation cQN}z
Ke
The location of the Velocity toolbox ;up89a-,9
velocity工具盒的位置 @y}1%{,%
struts.xslt.nocache R[Pyrs!H
Whether or not XSLT templates should not be cached q,+d\-+
是否XSLT模版应该被缓存 Mb+cXdZb