struts2的struts.properties配置文件详解 uC)Zs, _5
8+&gp$a$
struts.action.extension h+5@I%WX
The URL extension to use to determine if the request is meant for a Struts action LGAX"/LX
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 A4}#U=3tI
.izf#r:<
struts.configuration Ep<YCSQy$i
The org.apache.struts2.config.Configuration implementation class RU7!U mf
org.apache.struts2.config.Configuration接口名 i]dz}= j'
BK*z 4m
struts.configuration.files *N`;I@Q"[
A list of configuration files automatically loaded by Struts a/:]"`)
struts自动加载的一个配置文件列表 L*9H#%3
bK?MT]%}r
struts.configuration.xml.reload *{Yh6{
Whether to reload the XML configuration or not Hl/7(FJqc>
是否加载xml配置(true,false) q1jN]H
!8o\.uyi
struts.continuations.package 2Sjt=LOc="
The package containing actions that use Rife continuations
">cqt>2 A
含有actions的完整连续的package名称 V\"1wV~E
.8:+MW/
struts.custom.i18n.resources M.S
s:ttj
Location of additional localization properties files to load svqvG7
加载附加的国际化属性文件(不包含.properties后缀) Vli3>K&
-(
(Z@T1k
struts.custom.properties O<>#>[
Location of additional configuration properties files to load vkuc8 li
加载附加的配置文件的位置 m!0N"AjA
ex!XB$X
xb]odYGdW
struts.devMode V!W1fb7V
Whether Struts is in development mode or not (2d3jQN`
是否为struts开发模式 Hxn<(gd
G
yZ5x88 >
struts.dispatcher.parametersWorkaround }f]b't
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M}u1qXa
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oE6|Zw
Fav^^vf*1
struts.enable.DynamicMethodInvocation }s(C^0x
Allows one to disable dynamic method invocation from the URL 8ZW?|-i
允许动态方法调用 1TIlINlJ
Ww=O=c5uOu
struts.freemarker.manager.classname %EWq2'/5
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :pb67Al29
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;$z7[+M
/z#F,NB
struts.i18n.encoding :6zC4Sr^
The encoding to use for localization messages =},{8fZ4
国际化信息内码 'bC]M3P
8<{;=m8cQ
struts.i18n.reload w2C&%Xk
Whether the localization messages should automatically be reloaded Y+@g~TE
是否国际化信息自动加载 )@_ugW-j
+2Z#M
struts.locale YNk|+A.<d
The default locale for the Struts application Ch7Egzl7?
默认的国际化地区信息 i%MA"I\9
` zY!`G
struts.mapper.class DRp&IP<
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class F3Ap1-%z
org.apache.struts2.dispatcher.mapper.ActionMapper接口 OT;cfkf7
-zTEL(r
struts.multipart.maxSize BJgDo
The maximize size of a multipart request (file upload) g Jk[Ja
multipart请求信息的最大尺寸(文件上传用) q1w|'V
,z[(k"
struts.multipart.parser t$5jx
The org.apache.struts2.dispatcher.multipart. ZtR&wk
MultiPartRequest parser implementation for a multipart request (file upload) 26 ?23J
;
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Dp`HeSKU^
$WR?
Wy.";/C
struts.multipart.saveDir Je@k iE
The directory to use for storing uploaded files kN.B/itvA
设置存储上传文件的目录夹 ^SAq^3^P!
@/ k x
er
struts.objectFactory ULIFSd Y
The com.opensymphony.xwork2.ObjectFactory implementation class gB >pd?d
com.opensymphony.xwork2.ObjectFactory接口(spring) H]]c9`ayt
~z`/9;
struts.objectFactory.spring.autoWire eC;!YGZ
Whether Spring should autoWire or not J.W Ho
c
是否自动绑定Spring T/NjNEd#
LXNQb6!
struts.objectFactory.spring.useClassCache }PZ=`w*O
Whether Spring should use its class cache or not 79wLT\&
是否spring应该使用自身的cache B=dseeG[To
as#J qE
struts.objectTypeDeterminer {+Sq<J_`M
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t!0dJud
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tt{`\1q
,Bf(r
struts.serve.static.browserCache FT(iX`YQ
If static content served by the Struts filter should set browser caching header properties or not ZV(
w
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 l&Q!mU}
wV:C<Mg7q
struts.serve.static jtCZfFD?
Whether the Struts filter should serve static content or not `kPc!I7Y
是否struts过滤器应该提供静态内容 A9;0y jae
u7#z^r
struts.tag.altSyntax 3~<}bee5|q
Whether to use the alterative syntax for the tags or not i.M2E$b|
是否可以用替代的语法替代tags G0/>8_Q>Nr
akCIa'>t
struts.ui.templateDir (u9Zk~)F
The directory containing UI templates :XYy7xz<
UI templates的目录夹 JGgxAd{L
B9^R8|V
struts.ui.theme jA<T p}$!
The default UI template theme n_9x"m$
默认的UI template主题 F@EJtwLd5y
>A=\8`T^
struts.url.http.port (bvoF5%
The HTTP port used by Struts URLs nB&j
设置http端口 R04J3D|
> 0T
Za
struts.url.https.port SX_4=^
The HTTPS port used by Struts URLs H(&Z:{L
设置https端口 t!t=|JNf{
6v>z h
struts.url.includeParams \igaQ\~
The default includeParams method to generate Struts URLs oCuV9dA.
在url中产生 默认的includeParams Hm4bN\%
2yxi= XWZ
VDpxk$a
struts.velocity.configfile DEtf(lW_
The Velocity configuration file path {cR3.%wX
velocity配置文件路径 B6%&gXr\
!=[>r'+3
struts.velocity.contexts /< QSe
List of Velocity context names 7xT[<?,
velocity的context列表 Ow)R|/e/
R&Ci/
.[(P
struts.velocity.manager.classname T VeJ6
org.apache.struts2.views.velocity.VelocityManager implementation class CjKRP;5
org.apache.struts2.views.velocity.VelocityManager接口名 TGpSulg7
J3IRP/*z
struts.velocity.toolboxlocation '\t7jQ
The location of the Velocity toolbox gQ+9xT d
velocity工具盒的位置 ]nc2/S%
struts.xslt.nocache ._,trb>o
Whether or not XSLT templates should not be cached 50Ad,mn<
是否XSLT模版应该被缓存 mf2Mx=oy