struts2的struts.properties配置文件详解 MZ6?s(mkx
f`P%aX'cBQ
struts.action.extension DYbkw4Z,
The URL extension to use to determine if the request is meant for a Struts action &\`=}hB
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0|HD(d`a
8BC}D+q
struts.configuration !Vv$
The org.apache.struts2.config.Configuration implementation class ^=FtF9v
org.apache.struts2.config.Configuration接口名 ~{oM&I|d8
-0Y8/6](
struts.configuration.files "VB-=. A
A list of configuration files automatically loaded by Struts :8jHN_u
struts自动加载的一个配置文件列表 a4O!q;tu7
PtwE[YDu
struts.configuration.xml.reload #Z(8 vA^@
Whether to reload the XML configuration or not 8iR%?5 >K
是否加载xml配置(true,false) w~X1Il7A
``K.4sG
struts.continuations.package "~N#Jqzr:
The package containing actions that use Rife continuations @va)j
含有actions的完整连续的package名称 x}].lTjD
q/<.^X
struts.custom.i18n.resources hyVuZ\9B
Location of additional localization properties files to load 2y v'DS
加载附加的国际化属性文件(不包含.properties后缀) mf^(Tq[
2Pasmh
struts.custom.properties mvlK~c8
Location of additional configuration properties files to load n"-cX)
加载附加的配置文件的位置 gfFP-J3cN
x^;nQas;
qbFzA
i
struts.devMode _h M3p
Whether Struts is in development mode or not +mYD
DlvI
是否为struts开发模式 rG}o!I`z
zf4@:GM`
struts.dispatcher.parametersWorkaround &=xm>;`3
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic cdf8YN0!
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gNo.&G [
~;3N'o
struts.enable.DynamicMethodInvocation }I9\=jT
Allows one to disable dynamic method invocation from the URL $+R0RqV$V~
允许动态方法调用 ie=tM'fb
iw12x:
struts.freemarker.manager.classname 7P.C~,+D%P
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class YSs9BF:a
org.apache.struts2.views.freemarker.FreemarkerManager接口名 lX;2~iW{/
r,EIOcz:
struts.i18n.encoding X-e)w
The encoding to use for localization messages Z~9\7QJn
国际化信息内码 |*e
>hk
%, XyhS5[o
struts.i18n.reload yv[s)c}
Whether the localization messages should automatically be reloaded vB#&XK.aW
是否国际化信息自动加载 Cn[`]
WpWnwQY`#
struts.locale w f,7
The default locale for the Struts application eICk}gfun
默认的国际化地区信息 m("!
M~1
Jx[IHE
struts.mapper.class ~NMal]Fwx
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C3:4V2<_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 +79?}|
k]] (I<2
struts.multipart.maxSize F]q pDv
The maximize size of a multipart request (file upload) &zynfj#o
multipart请求信息的最大尺寸(文件上传用) U(3{6^>Gc
GBGGV#_q'}
struts.multipart.parser ?Xx,[Z&
The org.apache.struts2.dispatcher.multipart. (sq4
MultiPartRequest parser implementation for a multipart request (file upload) ??CtmH
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H"N
o{|^<
0~<d<a -@
9axJ2J'g
struts.multipart.saveDir "nf.kj:>
The directory to use for storing uploaded files CVyqr_n65/
设置存储上传文件的目录夹 +>@<'YI<
EX~ U(JB6
struts.objectFactory q1;}~}W;z4
The com.opensymphony.xwork2.ObjectFactory implementation class I?.$
com.opensymphony.xwork2.ObjectFactory接口(spring) 7xb z)FI
wyMj^+ 2m
struts.objectFactory.spring.autoWire .Qn54tS0q
Whether Spring should autoWire or not O\,n;oj
是否自动绑定Spring [u[F6Wst
hCQzD2
struts.objectFactory.spring.useClassCache KLGhsx35
Whether Spring should use its class cache or not ~B'K_#
是否spring应该使用自身的cache mA|!IhM
IX7<
struts.objectTypeDeterminer XI~2Vzht
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ec y|l;
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 82WXgB>
/8VM.fr$
struts.serve.static.browserCache wyzj[PDS
If static content served by the Struts filter should set browser caching header properties or not Eb7qM.Q] &
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 l 4I@6@
ZTfs&5
struts.serve.static D0Oh,Fe#M\
Whether the Struts filter should serve static content or not <(TTYf8lS
是否struts过滤器应该提供静态内容 (f,D$mX
0Y,_
DU
struts.tag.altSyntax 7?:7}xb-
Whether to use the alterative syntax for the tags or not iov55jT~l@
是否可以用替代的语法替代tags 6kK\nZ$o$
Xm8
1axyf
struts.ui.templateDir q
g?q|W
The directory containing UI templates kL 6f^MoL
UI templates的目录夹 oe}nrkmb
{'4h.PB+r
struts.ui.theme ?%J{1+hY
The default UI template theme -ve{O-;
默认的UI template主题 gk >-h,>"
1a;Le8
struts.url.http.port 7^4F,JuJO
The HTTP port used by Struts URLs 4\H:^U&
设置http端口 2-Y%W(bEzs
//2G5F ;
struts.url.https.port -x=abyD
The HTTPS port used by Struts URLs 3@kiUbq7Eu
设置https端口 ]&`_5pS
H[#s&Fk2
struts.url.includeParams US A!N
The default includeParams method to generate Struts URLs X2hV)8Sk
在url中产生 默认的includeParams x]&V7Y
$`W.9
U$@p"F@P
struts.velocity.configfile )sWdN(E3
The Velocity configuration file path oM/(&"
velocity配置文件路径
#"&h'V
8;mn7 XX
struts.velocity.contexts Fy3&Emu
List of Velocity context names |#q 5#@,
velocity的context列表 J)vP<.3:
-g(&5._,ZW
uh*b[`e
struts.velocity.manager.classname >Ip>x!wi
org.apache.struts2.views.velocity.VelocityManager implementation class
)T/"QF}<T
org.apache.struts2.views.velocity.VelocityManager接口名 {y0#(8-&
p:U9#(v)
struts.velocity.toolboxlocation =PWh,lWS
The location of the Velocity toolbox Z;M]^?
velocity工具盒的位置 /.l8Jb4
struts.xslt.nocache O'{UAb+-
Whether or not XSLT templates should not be cached =G2D4>q
是否XSLT模版应该被缓存 S/Pffal