struts2的struts.properties配置文件详解 @:}c(j
_"1RidhH
struts.action.extension nqo{]fn
The URL extension to use to determine if the request is meant for a Struts action o pTXI*QA
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^v;)6a2
Y)1/fEM
struts.configuration `j>5W<5q\
The org.apache.struts2.config.Configuration implementation class !zX()V
org.apache.struts2.config.Configuration接口名 #hxYB
5skN'*oG
struts.configuration.files L]kBY2c
A list of configuration files automatically loaded by Struts 4aS}b3=n
struts自动加载的一个配置文件列表 dEJqgp}\p
{$^'oRk
struts.configuration.xml.reload ^O_Z5NbC3
Whether to reload the XML configuration or not spV7\Gs.@
是否加载xml配置(true,false) msmW2Zc
|T|m5V'l
struts.continuations.package mXRkR.zu+
The package containing actions that use Rife continuations 9lb?%UFe
含有actions的完整连续的package名称 CVfV
e34>q:#5l
struts.custom.i18n.resources :0r,.)
Location of additional localization properties files to load Z=]SAK`
加载附加的国际化属性文件(不包含.properties后缀) zKd@Ab
Y:!L
struts.custom.properties X<%D@$
Location of additional configuration properties files to load aJ+V]WmA
加载附加的配置文件的位置 (Mk7"FC7
V'i-pn2gyu
'#+&?6 p
struts.devMode =Wcvb?;*
Whether Struts is in development mode or not 7_I83$p'
是否为struts开发模式 QOB^U-cW
NIs 7v
struts.dispatcher.parametersWorkaround Gm|-[iUTG]
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t8*Jdd^3Z/
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UGO#o`.G}
e(t}$Q=
struts.enable.DynamicMethodInvocation 8FuxN2
Allows one to disable dynamic method invocation from the URL ).71gp@&
允许动态方法调用 izl6L
4CM'I~
struts.freemarker.manager.classname RCWmdR#}V
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )pHtsd. eP
org.apache.struts2.views.freemarker.FreemarkerManager接口名 x"b'Pmw
DG;7+2U
struts.i18n.encoding P 2WAnm
The encoding to use for localization messages l!tR<$|
国际化信息内码 IbI0".o
sycAAmH<
struts.i18n.reload yqx5_}
Whether the localization messages should automatically be reloaded 4,)9@-|0R
是否国际化信息自动加载 1 $&@wG
L_Ok?9$
struts.locale 4'O,xC
The default locale for the Struts application bT,_=7F
默认的国际化地区信息 PT~htG<Fw
pkn^K+<n,
struts.mapper.class lb_N"90p
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OH
t)z.
org.apache.struts2.dispatcher.mapper.ActionMapper接口 qfDG.Zee#
Af _4Z]F
struts.multipart.maxSize I\mF dE
The maximize size of a multipart request (file upload) ,Wlt[T(.;
multipart请求信息的最大尺寸(文件上传用) /JR+WmO
n\ "6ol}>E
struts.multipart.parser %66="1z0@
The org.apache.struts2.dispatcher.multipart. Xd(^7~i
MultiPartRequest parser implementation for a multipart request (file upload) RDdnOzx
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ev7.!
,\M77V
YlrN^rO
struts.multipart.saveDir K0gQr.J53
The directory to use for storing uploaded files q94;x|63
设置存储上传文件的目录夹 '9}&@;-_
`\UY5n72
struts.objectFactory &e^;;<*w
The com.opensymphony.xwork2.ObjectFactory implementation class =%W:N|k
com.opensymphony.xwork2.ObjectFactory接口(spring) &aRL}#U
,jY:@<n
struts.objectFactory.spring.autoWire yT7$6x
Whether Spring should autoWire or not .!o]oM
U/
是否自动绑定Spring 4#IT" i
2VN].t:
struts.objectFactory.spring.useClassCache #gC[L=01
Whether Spring should use its class cache or not t%}<S~"
是否spring应该使用自身的cache R;OPY?EeW
H!IVbL`a{
struts.objectTypeDeterminer Vm%G
q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~F,~^r!Jtu
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 '[#y|
-pC'C%Q
struts.serve.static.browserCache
|3]/CrR_
If static content served by the Struts filter should set browser caching header properties or not eAlOMSL\
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @62,.\F
D;R~!3f./b
struts.serve.static /QQRy_Z1)
Whether the Struts filter should serve static content or not zH]oAu=H
是否struts过滤器应该提供静态内容 cUR :a@
~(R=3
struts.tag.altSyntax 9S%5Z>
Whether to use the alterative syntax for the tags or not ;\pVc)\4"
是否可以用替代的语法替代tags aj5HtP-
O)q4^AE$
struts.ui.templateDir g#$ C8k
The directory containing UI templates (h0@;@@7hW
UI templates的目录夹 a`'>VCg
ozRO:*51
struts.ui.theme |]< 3cW+
The default UI template theme gy.UTAs
N
默认的UI template主题 GQbr}xX.#
J+P<zC
struts.url.http.port tW UI?\
The HTTP port used by Struts URLs <U3X4)r
设置http端口 @vl$[Z|
;^ME
struts.url.https.port ?\Z pVL<>
The HTTPS port used by Struts URLs w
% Hj'
设置https端口 6m_mma_,&
aF
2vgE\
struts.url.includeParams lx+;<la
The default includeParams method to generate Struts URLs F*KQhH7Gf
在url中产生 默认的includeParams FSM M
7fR5V
YZf{."Opj[
struts.velocity.configfile Jw]!x1rF~
The Velocity configuration file path *p(_="J,
velocity配置文件路径 $}&a*c>
bLg!LZ|S0s
struts.velocity.contexts )V1xL_hx/
List of Velocity context names .
Vb|le(7
velocity的context列表 n#P>E(K
9)VAEyv
a/V,iCiH
struts.velocity.manager.classname @7nZjrH
org.apache.struts2.views.velocity.VelocityManager implementation class Jinh#iar
org.apache.struts2.views.velocity.VelocityManager接口名 !{-W%=Kf
.b";7}9{
struts.velocity.toolboxlocation MN<LZC%$
The location of the Velocity toolbox eke[{%L
velocity工具盒的位置 ;U'\"N9
struts.xslt.nocache 4!/QB6
Whether or not XSLT templates should not be cached ?,$:~O*w
是否XSLT模版应该被缓存 TDo)8+.2z