struts2的struts.properties配置文件详解 z94#:jPmG
L;h|Sk]{
struts.action.extension 8Wba Hw_
The URL extension to use to determine if the request is meant for a Struts action Uz=OTM
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \r1nMw 3&
LIE5of
struts.configuration d0V*[{
The org.apache.struts2.config.Configuration implementation class 7y4jk
org.apache.struts2.config.Configuration接口名 \&/V p`
X6<Ds'I
struts.configuration.files l#IN)">1
A list of configuration files automatically loaded by Struts YJGP8
struts自动加载的一个配置文件列表 otA'+4\
[[#zB-|
struts.configuration.xml.reload m`BE{%
Whether to reload the XML configuration or not |BBo
是否加载xml配置(true,false)
XFSHl[uS1
+I3j2u8L
struts.continuations.package i0nu5kD+d
The package containing actions that use Rife continuations nT
:n>ja
含有actions的完整连续的package名称 W#&BU-|2
X'{o/U.
struts.custom.i18n.resources ?U+nR/H:6
Location of additional localization properties files to load DGbEQiX$\
加载附加的国际化属性文件(不包含.properties后缀) _9yW; i-
2q4-9vu
struts.custom.properties yXQ 28A
Location of additional configuration properties files to load ZZM;%i-B
加载附加的配置文件的位置 +;T\:'CU
u-M Td
)=nB32~J"
struts.devMode b$q~(Z}
Whether Struts is in development mode or not ZZ>F ^t
是否为struts开发模式 %6\L^RP
4&AGVplgF
struts.dispatcher.parametersWorkaround [}I|tb>Pg
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9zl-C*9vj
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) MbxJ3"@
Q[Gs%/>
struts.enable.DynamicMethodInvocation "[ieOFI
Allows one to disable dynamic method invocation from the URL M1=eS@
允许动态方法调用 V%'' GF
L 8J] X7
struts.freemarker.manager.classname Ax6zx
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .=N ?;i
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )# v}8aL
ka@yQ V
struts.i18n.encoding %$_Y"82
The encoding to use for localization messages O{p7I&
国际化信息内码 F9k}zAY\J
4C[kj
struts.i18n.reload 2?F?C
Whether the localization messages should automatically be reloaded Rrrq>{D
是否国际化信息自动加载 4-BrE&2f
rgo!t028^
struts.locale j-d542"
The default locale for the Struts application O03F@v
默认的国际化地区信息 >9y!M'V
1HLU
&
struts.mapper.class H#M;TjR
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @1~cPt
org.apache.struts2.dispatcher.mapper.ActionMapper接口 XVF!l>nE
1 F&}e&}c
struts.multipart.maxSize H2'djZ
The maximize size of a multipart request (file upload) ~l('ly
multipart请求信息的最大尺寸(文件上传用) ~7gFddi=i
X4L@|"ZI
struts.multipart.parser JkI|Ojmm/
The org.apache.struts2.dispatcher.multipart. hcpe~spz9|
MultiPartRequest parser implementation for a multipart request (file upload) ~x[(1
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GL _hRu
J|
1!4R~
/IlO
struts.multipart.saveDir _FU}IfG>t
The directory to use for storing uploaded files mA#;6?6
设置存储上传文件的目录夹 MP_/eC ;
uqVarRi$
struts.objectFactory CDY3+!
The com.opensymphony.xwork2.ObjectFactory implementation class "pO**z$Z
com.opensymphony.xwork2.ObjectFactory接口(spring) 'Z|Czd8E
^U);MH8
struts.objectFactory.spring.autoWire U] P{~
Whether Spring should autoWire or not <kJ`qbOU
是否自动绑定Spring |9Y~k,rF
hY/qMK5
struts.objectFactory.spring.useClassCache Kpkpr`:)]
Whether Spring should use its class cache or not 9VMk?
是否spring应该使用自身的cache >3,}^`l
@YVla!5O@
struts.objectTypeDeterminer (G~M E>
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class H6Ytp^~>
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _0y]U];ce
OKAmw>{
struts.serve.static.browserCache WHqw=!G
If static content served by the Struts filter should set browser caching header properties or not ps^["3e
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |n;5D,r0C
C)~%(< D
struts.serve.static OnyAM{$g
Whether the Struts filter should serve static content or not T+PERz(
是否struts过滤器应该提供静态内容 `4e| I.`^r
Y5y7ONcn
struts.tag.altSyntax ;X:Bh8tEV
Whether to use the alterative syntax for the tags or not qeC^e}h
是否可以用替代的语法替代tags oN)I3wO$
RRro.r,
struts.ui.templateDir G5lBCm
The directory containing UI templates ,."wxP2u
UI templates的目录夹 !^EA}N.u
N'PK4:
struts.ui.theme ~Lq`a@]A
The default UI template theme % .wx]:o
默认的UI template主题 )LNKJe+
P`S'F_IN
struts.url.http.port !=HxL-`j
The HTTP port used by Struts URLs 3BAQ2S}
设置http端口 A8k $.E
k@pEs# a
struts.url.https.port t*fH&8(
The HTTPS port used by Struts URLs 3EH@tlTl
设置https端口 XjmAM/H4
Nrq/Pkmy
struts.url.includeParams A"0Yn(awWu
The default includeParams method to generate Struts URLs VF +g+~
在url中产生 默认的includeParams UG vUU<N|N
,Xg^rV~]
[!Djs![O
struts.velocity.configfile -0I&dG-
The Velocity configuration file path [x-
9m\h
velocity配置文件路径 1@}<CWE9
ftQ;$@
struts.velocity.contexts p<&>1}j=
List of Velocity context names (!?%"e
velocity的context列表 8Pva ]Q
7jr+jNsowj
hu7oJ H
struts.velocity.manager.classname 2@Q5Ta#h
org.apache.struts2.views.velocity.VelocityManager implementation class |,({$TrF
org.apache.struts2.views.velocity.VelocityManager接口名 Y\
;hjxR-
sLzZ}u?(
struts.velocity.toolboxlocation 7\ X_%SM %
The location of the Velocity toolbox ulk/I-y
velocity工具盒的位置 s){VU2.ra
struts.xslt.nocache :fUNc^\2
Whether or not XSLT templates should not be cached U lCw{:#F
是否XSLT模版应该被缓存 Nr}O6IJ>Sg