struts2的struts.properties配置文件详解 ?rjB9AC_;t
{- &`@V
struts.action.extension +n<W#O%
The URL extension to use to determine if the request is meant for a Struts action = N;5T
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 R nwFxFIQ
&f}w&k2yj
struts.configuration F{4v[WP)
The org.apache.struts2.config.Configuration implementation class $A`m8?bY
org.apache.struts2.config.Configuration接口名 dVUe!S`
W4,'?o
struts.configuration.files ('{aOiSH
A list of configuration files automatically loaded by Struts _, E/HAX
struts自动加载的一个配置文件列表 Cs(sar:7
>(-A"jf
struts.configuration.xml.reload &)jq3
Whether to reload the XML configuration or not _RIlGs\.
是否加载xml配置(true,false) bZ_TW9mq
pztfm'
struts.continuations.package mITNx^p4f
The package containing actions that use Rife continuations ;:&|DN3;
含有actions的完整连续的package名称 QWnGolN
vz~Oi
struts.custom.i18n.resources @mJ~?d95v
Location of additional localization properties files to load Mg2 e0}{
加载附加的国际化属性文件(不包含.properties后缀) z)(W
x">
Rx.v/H
struts.custom.properties '$c9 S[
Location of additional configuration properties files to load hbg$u$1`,
加载附加的配置文件的位置 2kt0Rxg
aL_/2/@X8
sPG500=)
struts.devMode qvLh7]sbK:
Whether Struts is in development mode or not yVgC1-8i*
是否为struts开发模式 T9I$6HAi
]B UirJ,2
struts.dispatcher.parametersWorkaround eXMIRus(
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -r_,#LR!l
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y%X!l(gQ
5|=J\Lp2I
struts.enable.DynamicMethodInvocation 9|lLce$
Allows one to disable dynamic method invocation from the URL WrSc@j&Ycv
允许动态方法调用 KzP{bK5/
-|Zzs4bx
struts.freemarker.manager.classname ALy7D*Z]w
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /`l;u7RD
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }W'4(V;:
,<* I5:
struts.i18n.encoding ,l6,k<
The encoding to use for localization messages 71y{Dwya
国际化信息内码 l -xc*lC
x1?mE)n]
struts.i18n.reload t,Ka]
/I
Whether the localization messages should automatically be reloaded .1q}mw
是否国际化信息自动加载 e MHz/;I
p_g`f9q6D
struts.locale b _<n]P*)
The default locale for the Struts application 2QRO$NieV
默认的国际化地区信息 8}m J)9<7
p<{P#?4 g
struts.mapper.class tsJR:~
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M2-`p
org.apache.struts2.dispatcher.mapper.ActionMapper接口 mEbI\!}H0
eb}P/
struts.multipart.maxSize *!ng)3#
The maximize size of a multipart request (file upload) Ps>:|j+
multipart请求信息的最大尺寸(文件上传用) 9OV@z6
YR*gOTD
struts.multipart.parser (jA5`4>u
The org.apache.struts2.dispatcher.multipart. L2,2Sn*4i
MultiPartRequest parser implementation for a multipart request (file upload) Z3weFbCH
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gu!!}pwV9
c)LG+K
`hZh}K^
struts.multipart.saveDir 5E-;4o;RI(
The directory to use for storing uploaded files M2 |!,2
设置存储上传文件的目录夹 H7GI`3o
ZX` \so,&,
struts.objectFactory DH
yv^
The com.opensymphony.xwork2.ObjectFactory implementation class 2t9UJu4
com.opensymphony.xwork2.ObjectFactory接口(spring) $Yt|XT+!&
0M"n
struts.objectFactory.spring.autoWire W`_JERo
Whether Spring should autoWire or not 1,%`vlYv
是否自动绑定Spring \1jThJn
yAryw{(
struts.objectFactory.spring.useClassCache H oABo:
Whether Spring should use its class cache or not ?UAuUFueA
是否spring应该使用自身的cache dI
,A;.
gns}%\,
struts.objectTypeDeterminer Rey+3*zUb
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `z\hQ%1!F
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 . s9E
+1
A{
~D_q
struts.serve.static.browserCache -n&&d8G^s
If static content served by the Struts filter should set browser caching header properties or not :31_WJ^
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 12z!{k7N
oj -
`G
struts.serve.static [j-?)
Whether the Struts filter should serve static content or not n2bhCd]j<b
是否struts过滤器应该提供静态内容 iR nj N
46}U+>
struts.tag.altSyntax O hk\P;}
Whether to use the alterative syntax for the tags or not B{`adq?pW
是否可以用替代的语法替代tags Q?i_Nl/|
Qdq;C,}Ai.
struts.ui.templateDir !iKW1ks
The directory containing UI templates ID2->J
UI templates的目录夹 (vO3vCYeQ
]]PNYa
struts.ui.theme 7b[sW|{
The default UI template theme SG)Fk *1
默认的UI template主题
C '(
Y
PGJh>[s
struts.url.http.port 0[l}@K?
The HTTP port used by Struts URLs ZPmqoR[
设置http端口 J:N(U0U
<"5l<E
struts.url.https.port 94+^K=lAX
The HTTPS port used by Struts URLs }ouGxs+^[
设置https端口 {&n- @$?
zsXgpnlHT
struts.url.includeParams Pp-N2t86#2
The default includeParams method to generate Struts URLs ?Ts]zO%%Z
在url中产生 默认的includeParams Gk*u^J(
IQPu%n{0v
R^.PKT2E
struts.velocity.configfile &))d],tJX
The Velocity configuration file path YCD|lL#
velocity配置文件路径 %]_: \!
7HDc]&z
struts.velocity.contexts HLW_Y|QaFo
List of Velocity context names 'z.
GAR
velocity的context列表 ^~H{I_Y
@KTuG ?.
<R]m(
struts.velocity.manager.classname {s
mk<NL
org.apache.struts2.views.velocity.VelocityManager implementation class ed,A'S=d
org.apache.struts2.views.velocity.VelocityManager接口名 <R7{W"QTA)
Zo<)r2|O.
struts.velocity.toolboxlocation <a"(B*bBd
The location of the Velocity toolbox U3{<+vSR`
velocity工具盒的位置 Z<i}XCE
struts.xslt.nocache v0\l~_|H
Whether or not XSLT templates should not be cached l<+[l$0#
是否XSLT模版应该被缓存 $H@SXx