struts2的struts.properties配置文件详解 :1 qLRr
A)9]^@,
struts.action.extension Mu`_^gG
The URL extension to use to determine if the request is meant for a Struts action @>46.V{P}B
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 r~T!$Tb
K>.}>)0
struts.configuration ]'xci"qV`
The org.apache.struts2.config.Configuration implementation class W'@G5e
org.apache.struts2.config.Configuration接口名 cwvJH&%0
aMe&4Q
struts.configuration.files f3!Oc
A list of configuration files automatically loaded by Struts >4wigc
struts自动加载的一个配置文件列表 E8kD#tL
p]S'pzh
struts.configuration.xml.reload yWRIh*>nE
Whether to reload the XML configuration or not ,X_3#!y
是否加载xml配置(true,false) %52e^,//
Fu{VO~w
struts.continuations.package =:g\I6'a
The package containing actions that use Rife continuations -x6_HibbD
含有actions的完整连续的package名称 p9i7<X2&
h*;c"/7
struts.custom.i18n.resources Y S7lB
Location of additional localization properties files to load c$[2tZ
加载附加的国际化属性文件(不包含.properties后缀)
5:gpynE|
2&S^\kf
struts.custom.properties ~`e!$=
Location of additional configuration properties files to load ' u<I S/w
加载附加的配置文件的位置 }Jh.+k|_
a K6dy\
a7_Q8iMe
struts.devMode r>8`gAhx
Whether Struts is in development mode or not Y~*p27@fR
是否为struts开发模式 oO[eer_S-
qmpT G:+
struts.dispatcher.parametersWorkaround AoGpM,W]5
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _hV34:1F
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _)vX_gCi
KF
*F
struts.enable.DynamicMethodInvocation NaoOgZ?
Allows one to disable dynamic method invocation from the URL _`=qc/-0
允许动态方法调用 V#,|#2otZ
, Zie2I?q
struts.freemarker.manager.classname *j83E[(]
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :1f,%Z$,q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 4IZAJqw(*
_s#J\!F
struts.i18n.encoding WVQHb3Pe0
The encoding to use for localization messages 7n .A QII
国际化信息内码 C\"C12n{
%6fnL~A
struts.i18n.reload Nz{qu}dt
Whether the localization messages should automatically be reloaded &0T7Uv-`
是否国际化信息自动加载 v,Kum<oi?
kPy7e~
struts.locale ]+ub
R;
The default locale for the Struts application 1^NC=IS9z
默认的国际化地区信息 ;FwUUKj
BPW.&2?<
struts.mapper.class V+sZ;$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nO6UlY
org.apache.struts2.dispatcher.mapper.ActionMapper接口 2va[= >_
p?Ux1S
struts.multipart.maxSize ]{i0?c
The maximize size of a multipart request (file upload) =zAFsRoD_B
multipart请求信息的最大尺寸(文件上传用) ?8grK
ecl6>PS$'
struts.multipart.parser M1P;x._n
The org.apache.struts2.dispatcher.multipart. cyd_xB5K
MultiPartRequest parser implementation for a multipart request (file upload) A#q.)8
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) lu>G=uCJ
R+0fs$su
h;E.y
struts.multipart.saveDir 76[qFz
The directory to use for storing uploaded files o}waJN`yI
设置存储上传文件的目录夹 2@_3V_
vbd
;Je"
struts.objectFactory \0}bOHqEH
The com.opensymphony.xwork2.ObjectFactory implementation class u$nmnd`g
com.opensymphony.xwork2.ObjectFactory接口(spring) pT+OPOSR
4avkyFj!h
struts.objectFactory.spring.autoWire '9vsv\A&
Whether Spring should autoWire or not OFv-bb*YZ
是否自动绑定Spring 1HSt}
xK[[b
struts.objectFactory.spring.useClassCache :1t&>x=T
Whether Spring should use its class cache or not p{qA%D
是否spring应该使用自身的cache 8M3DG=D
yp]vDm
struts.objectTypeDeterminer Z 5 .cfI[
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
nmL|v
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -*&aE~Cs
M4?>x[Pw
struts.serve.static.browserCache nRq[il0 `i
If static content served by the Struts filter should set browser caching header properties or not Xq"9TYf$
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V=1yg24B<
Y -BZV |
struts.serve.static K vPLA{
Whether the Struts filter should serve static content or not H^B,b!5i
是否struts过滤器应该提供静态内容 xV`)?hEXFh
hms Aim9i
struts.tag.altSyntax mOjjw_3gq
Whether to use the alterative syntax for the tags or not `K$;K8! 1
是否可以用替代的语法替代tags dEf5x_TGm
~nj+"d]
struts.ui.templateDir ,{"K^
The directory containing UI templates ):+^893)
UI templates的目录夹 k|]l2zlT
"j&p3
struts.ui.theme =RWY0| f
The default UI template theme DKlHXEt>
默认的UI template主题 01aw+o
RM%Z"pc Y6
struts.url.http.port tg%<@U`7=
The HTTP port used by Struts URLs |Cfo(]>G
设置http端口 |j8#n`'
HF&dHD2f
struts.url.https.port i)'u!V
The HTTPS port used by Struts URLs TFbF^Kd#:d
设置https端口 C ]zgVbu
uuUjIZCtz
struts.url.includeParams 7 oYD;li$k
The default includeParams method to generate Struts URLs kd
p*6ynD
在url中产生 默认的includeParams 9)b{U2&
,pZz`B#
LBpAR|
struts.velocity.configfile E>QEI;
The Velocity configuration file path URh5ajoR%
velocity配置文件路径 )i-`AJK-'v
YSZ[~?+
struts.velocity.contexts oqK:
5|
List of Velocity context names ``Um$i~e%
velocity的context列表 DAN"&&
u0uz~ s
3WfZ zb+
struts.velocity.manager.classname Y8mv[+Z
org.apache.struts2.views.velocity.VelocityManager implementation class N0
t26| A
org.apache.struts2.views.velocity.VelocityManager接口名 {qry2ZT5
LM.#~7jC
struts.velocity.toolboxlocation 5(\[Gke
The location of the Velocity toolbox lm'.G99{
velocity工具盒的位置 ?K.!^G
struts.xslt.nocache 1Ji"z>H*
Whether or not XSLT templates should not be cached at3YL[,[Z
是否XSLT模版应该被缓存 #TP Y%