struts2的struts.properties配置文件详解 Pt'=_^Io
0\+$j5;
struts.action.extension ac8su0
The URL extension to use to determine if the request is meant for a Struts action )4H0Bz2G
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,? Q1JZPy@
8DFq eY0S
struts.configuration /K_*Drk>
The org.apache.struts2.config.Configuration implementation class 01IfvK
org.apache.struts2.config.Configuration接口名 Gi&/`vm
(V"7H
struts.configuration.files @9\E
A list of configuration files automatically loaded by Struts EdZNmL3cB
struts自动加载的一个配置文件列表 z]j_,3Hff
UN:cRH{?*
struts.configuration.xml.reload HN<e)E38
Whether to reload the XML configuration or not ?yA
2N;
是否加载xml配置(true,false) _V` QvnT}
WrR8TYq9D]
struts.continuations.package {(h!JeQ
The package containing actions that use Rife continuations 7*4i0{]
含有actions的完整连续的package名称 <lWBhrz
~u r}6T
struts.custom.i18n.resources x_= 3!)
Location of additional localization properties files to load A64c,Uv
加载附加的国际化属性文件(不包含.properties后缀) |xpOU*k
,u14R]
struts.custom.properties uC2 5pH"
Location of additional configuration properties files to load +\J+?jOC4S
加载附加的配置文件的位置 .C1g Dry]
pWKI^S
#?~G\Ux0/
struts.devMode ,Uy~O(Ft
Whether Struts is in development mode or not sO)!}#,
是否为struts开发模式 zhU^~4F
o^u}(wZ{
struts.dispatcher.parametersWorkaround =E&1e;_xlE
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e(9K.3@{
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )F6p+i="
C 6d#+
struts.enable.DynamicMethodInvocation ZV[-$
Allows one to disable dynamic method invocation from the URL r1sA^2g.
允许动态方法调用 t_qX7P8+'
tz2$j@!=
struts.freemarker.manager.classname /q^_
'Lp
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h\8bo=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 j)}TZx4~
:{?Pq8jP
struts.i18n.encoding ' &Nv|v\V
The encoding to use for localization messages $ccCI
\
国际化信息内码 i^eDM.#X
07Oagq(
struts.i18n.reload ]jV1/vJ-!
Whether the localization messages should automatically be reloaded u<HJFGLzI
是否国际化信息自动加载 [LS s|f
qtp-w\#S$
struts.locale D
\boF+^
The default locale for the Struts application dkZ[~hEQG-
默认的国际化地区信息 Rtai?
V}Pv}j:;
struts.mapper.class Rz33_ qA
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Fh.ZsPn,m
org.apache.struts2.dispatcher.mapper.ActionMapper接口 `>`{DEDx{5
:Z]\2(x
struts.multipart.maxSize ),0Ea~LB4
The maximize size of a multipart request (file upload) p0HcuB)Y
multipart请求信息的最大尺寸(文件上传用) d^`n/"Ice
X&,a=#C^
struts.multipart.parser "=0JYh)%_
The org.apache.struts2.dispatcher.multipart. i.+#a2
MultiPartRequest parser implementation for a multipart request (file upload) 5ma~Pjt8}
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j7C&&G q
g+=f=5I3
@T{I;8S
struts.multipart.saveDir 2X=*;r"{J
The directory to use for storing uploaded files i\\,Z
L
设置存储上传文件的目录夹 MUp{2_RA
iRL|u~bj
struts.objectFactory q)]S:$?BT
The com.opensymphony.xwork2.ObjectFactory implementation class @ oFuX.
com.opensymphony.xwork2.ObjectFactory接口(spring) u~27\oj,
~<=wTns!
struts.objectFactory.spring.autoWire 8uB6C0,6?
Whether Spring should autoWire or not ,
ins/-3
是否自动绑定Spring h8HA^><Xr
M_\)<a(8
struts.objectFactory.spring.useClassCache Xyw;Nh!!d
Whether Spring should use its class cache or not )(`,!s,8)
是否spring应该使用自身的cache T2k# "zD
!^w}Sp
struts.objectTypeDeterminer }vQY+O
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R<ZyP~
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 HuajdC~
yzJTNLff
struts.serve.static.browserCache :UDe\zcd"
If static content served by the Struts filter should set browser caching header properties or not *l'5z)]
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tVAH\*a,/
y;tX`5(fe
struts.serve.static A<cnIUW
Whether the Struts filter should serve static content or not K<"Y4O#]
是否struts过滤器应该提供静态内容 9icy&'
:4S~}}N
struts.tag.altSyntax CSIsi]H
Whether to use the alterative syntax for the tags or not !,;/JxfgVh
是否可以用替代的语法替代tags
aP +)
U\;mM\2rE
struts.ui.templateDir (%|L23
The directory containing UI templates 8MCSU'uQ
UI templates的目录夹 OyTp^W`&
CGCSfoS9f
struts.ui.theme I)f54AX
The default UI template theme gK-$y9]~+
默认的UI template主题 4:qM'z
P\.1w>X
struts.url.http.port O%busM$P)/
The HTTP port used by Struts URLs (\$=+' hy
设置http端口 F0+@FS0
bOdyrynh
struts.url.https.port ,F0bkNBG
The HTTPS port used by Struts URLs /PtmJ2[
设置https端口 <,(Ww
yyuf
struts.url.includeParams M1=y-3dW3
The default includeParams method to generate Struts URLs #W=H)6
在url中产生 默认的includeParams qvN 5[rb
F$H^W@<w
j*@EJ"Gm>
struts.velocity.configfile /Wm3qlv
The Velocity configuration file path 4(}V$#^+
velocity配置文件路径 )Xd2qbi
F5/,H:K\
struts.velocity.contexts kI#yW!
List of Velocity context names y
;T=u(}
velocity的context列表 #6qLu
2W=am_\0e.
atjrn:X
struts.velocity.manager.classname )\0LxsZ
org.apache.struts2.views.velocity.VelocityManager implementation class tU(vt0~b
org.apache.struts2.views.velocity.VelocityManager接口名 "(SZ;y
|>AHc_:$$
struts.velocity.toolboxlocation 3']=w@~ O[
The location of the Velocity toolbox ;PG,0R`Z;
velocity工具盒的位置 ~0XV[$`L
struts.xslt.nocache j?9fb
Whether or not XSLT templates should not be cached 4Nz]LK%@
是否XSLT模版应该被缓存 }TAHVcX*p