struts2的struts.properties配置文件详解 ,*?bET
$
\=v7'Hp
struts.action.extension XUfj 0
The URL extension to use to determine if the request is meant for a Struts action "]JE]n}Ulg
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X3%7VFy9
U%"c@%B0
struts.configuration BM&95p
The org.apache.struts2.config.Configuration implementation class ~0>g 4
D.
org.apache.struts2.config.Configuration接口名 ?Q="w5OOD
8<Asg2]6
struts.configuration.files -uqJ~g D
A list of configuration files automatically loaded by Struts Ex^7`-2,B
struts自动加载的一个配置文件列表 #JYv1F
%L}9nc%~eP
struts.configuration.xml.reload [?)}0cd0
Whether to reload the XML configuration or not ;VeC(^-eh6
是否加载xml配置(true,false) ,xuqQ;JX
uXxyw7\W
struts.continuations.package V9I5/~0c
The package containing actions that use Rife continuations @sav8]
含有actions的完整连续的package名称 r^n%PH<
]Hc`<P
struts.custom.i18n.resources k+'Rh'>
Location of additional localization properties files to load YDyOhv
加载附加的国际化属性文件(不包含.properties后缀) |s+[489g'6
&sh
%]o8
struts.custom.properties 0SwWLq
Location of additional configuration properties files to load FcdbL,}=<
加载附加的配置文件的位置 'D-eFJ5
NcZ6!wWdE
!3v!BJ#+,&
struts.devMode }?$d~]t)
Whether Struts is in development mode or not epJVs0W
是否为struts开发模式 K;,n?Q w
I{JU<A,&
struts.dispatcher.parametersWorkaround 8GN0487H
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gnlGL[r|
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A/lxXy}D
*^ \xH ,.
struts.enable.DynamicMethodInvocation F +D2
xN@
Allows one to disable dynamic method invocation from the URL ~4.Tq{
允许动态方法调用 <QQgOaS`2
ea3AcT6
struts.freemarker.manager.classname Z+' 7c|a
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BR8z%R
org.apache.struts2.views.freemarker.FreemarkerManager接口名 .<gAa"
y;keOI!
struts.i18n.encoding $T8Ni!#/C
The encoding to use for localization messages <oS2a/Nd
国际化信息内码 k+5:fB)z
{UQpD
struts.i18n.reload Mou>|U1e"
Whether the localization messages should automatically be reloaded Xnt`7L<L
是否国际化信息自动加载 ,oT?-PC$z
q*{i /=~
struts.locale QY8I_VF
The default locale for the Struts application 67+ K
?!,
默认的国际化地区信息 'M=(5p
wz +
struts.mapper.class AmM^&
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class X4!`
V?
org.apache.struts2.dispatcher.mapper.ActionMapper接口 q@~N?$>
K
I
struts.multipart.maxSize y-cRqIM
The maximize size of a multipart request (file upload) <:-|>R".
multipart请求信息的最大尺寸(文件上传用) )a.w4dH
>k<.bEx(A
struts.multipart.parser )7<JGzBZ1
The org.apache.struts2.dispatcher.multipart. nmn$$=~)
MultiPartRequest parser implementation for a multipart request (file upload) /(8Usu?g.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0t*JP
^Jcs0c
@\
U;Se'*5xv
struts.multipart.saveDir S)Sv4Qm
The directory to use for storing uploaded files V.Dqbv
设置存储上传文件的目录夹 (NyS2`
XE[~!
>'
struts.objectFactory K%P$#a
The com.opensymphony.xwork2.ObjectFactory implementation class +yiGZV/X
com.opensymphony.xwork2.ObjectFactory接口(spring) 5rRYv~+
'*MNRduE6
struts.objectFactory.spring.autoWire U 3aY =8B
Whether Spring should autoWire or not Qv(}*iq]
是否自动绑定Spring dy-m9fc6%
?k<i e2
struts.objectFactory.spring.useClassCache P6&@fwJ<
Whether Spring should use its class cache or not 9eo$Duws
是否spring应该使用自身的cache *>h"}e41
U2\g
Kg[-Q
struts.objectTypeDeterminer >KH.~Jfy
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cW4:eh
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1`)ie%=
9F845M
struts.serve.static.browserCache OE]zC
If static content served by the Struts filter should set browser caching header properties or not Bwj^9J/ob
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f9W@!]LHJ
'e^,#L_!o
struts.serve.static qX^#fk7]
Whether the Struts filter should serve static content or not R$X1Q/#md
是否struts过滤器应该提供静态内容 .xS3,O_[
8ME_O~,N
struts.tag.altSyntax !4\`g?
Whether to use the alterative syntax for the tags or not mRZC98$ @r
是否可以用替代的语法替代tags S9S8T+
tsVQXvo
struts.ui.templateDir ,#hS#?t
The directory containing UI templates ZgQ4~s
UI templates的目录夹 +kP)T(6
#|k;nFJ
struts.ui.theme qL.1N~$2
The default UI template theme VC5LxA0{
默认的UI template主题 j9)P3=s
Fi vgOa
struts.url.http.port 6d& dB
The HTTP port used by Struts URLs 3`uv/O2~i
设置http端口 secD
`]
_TfG-Ae
struts.url.https.port |=L~>G
The HTTPS port used by Struts URLs ^2%_AP0=
设置https端口 :IlRn`9X`
[* ,k
struts.url.includeParams ,*$L_itL
The default includeParams method to generate Struts URLs `WQz_}TqB
在url中产生 默认的includeParams /yPFts_q
,~u 5SR
N7Vv"o
struts.velocity.configfile 0h/gqlTK1
The Velocity configuration file path 3>YG
velocity配置文件路径 SxMmy
Vp{! Ft8>
struts.velocity.contexts A:PQIcR;V
List of Velocity context names Wd#r-&!6j
velocity的context列表 QH@?.Kb_qU
G8dC5+h
,e$]jC<sv2
struts.velocity.manager.classname FDBj<uXfM|
org.apache.struts2.views.velocity.VelocityManager implementation class ts%XjCN[
org.apache.struts2.views.velocity.VelocityManager接口名 7s@%LS
qp3J/(F
struts.velocity.toolboxlocation Q%)da)0:c
The location of the Velocity toolbox #$7d1bx
velocity工具盒的位置 r'0IAJ-;
struts.xslt.nocache rDFDrviW_
Whether or not XSLT templates should not be cached BwMi@r
=
是否XSLT模版应该被缓存 s\2t|d