struts2的struts.properties配置文件详解 _+p4Wvu~0
wL;lQ&
struts.action.extension N|1M1EBOu>
The URL extension to use to determine if the request is meant for a Struts action QU4h8}$
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 48c1gUwoP
.|hf\1_J
struts.configuration fo5iJz"Z
The org.apache.struts2.config.Configuration implementation class =V-A@_^!c
org.apache.struts2.config.Configuration接口名 a,xycX:U
ks"|}9\%<
struts.configuration.files S-Wz our,
A list of configuration files automatically loaded by Struts %kv0Wefs
struts自动加载的一个配置文件列表 R,gR;Aarw
\Npxv
struts.configuration.xml.reload mIurA?&7!
Whether to reload the XML configuration or not ^]7}YF2|
是否加载xml配置(true,false) (^s>m,h
*$yR*}A
struts.continuations.package _/F7?^j
The package containing actions that use Rife continuations Y?S!8-z
含有actions的完整连续的package名称 %Qc La//
Hcl(3>Jn2
struts.custom.i18n.resources K$>%e36Cc
Location of additional localization properties files to load ->sm+H-*
加载附加的国际化属性文件(不包含.properties后缀) ?sab*$wG
4
K!JQ|9
struts.custom.properties r) HHwh{9
Location of additional configuration properties files to load !LggIk1
加载附加的配置文件的位置 'L
8n-TyL
}&/o'w2wY
t5[#x4
p
struts.devMode ;fsZ7k4]do
Whether Struts is in development mode or not GO8GJ;B-U
是否为struts开发模式 $AfM>+GQ`n
RLw;(*(g
struts.dispatcher.parametersWorkaround h^?\xm|
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GYJ80k|
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *194{ ep
uZM{BgXXD
struts.enable.DynamicMethodInvocation u2[iM d
Allows one to disable dynamic method invocation from the URL U[SaY0Z
允许动态方法调用 _I:~@
}x@2]juJ
struts.freemarker.manager.classname {/"2Vk<H8
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class DKne'3pH
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }3o|EXx=
~R_ztD+C(
struts.i18n.encoding 0KYEb%44
The encoding to use for localization messages qm./|#m>
国际化信息内码 WfWN(:dF
vk+VP 1D
struts.i18n.reload DBPRGQ
Whether the localization messages should automatically be reloaded ad.3A{
是否国际化信息自动加载 BbW^Wxd3
r
YogW!
struts.locale UF?H>Y&
The default locale for the Struts application C
'v+f=
默认的国际化地区信息 9S-Z&2L
=+ytTQc*ot
struts.mapper.class \]%6|V
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \n{qsf:
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,$+lFv3LE
MNC*Glj=
struts.multipart.maxSize z8QAo\_I(
The maximize size of a multipart request (file upload) ?3%`bY+3;
multipart请求信息的最大尺寸(文件上传用) ?3*l{[@J
~p1j`r;
struts.multipart.parser LO
<
The org.apache.struts2.dispatcher.multipart.
Jd%H2`
MultiPartRequest parser implementation for a multipart request (file upload) qR(\5}
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) m1),;RsH
.z
6fv
MZlk0o2
struts.multipart.saveDir ~MS\
The directory to use for storing uploaded files ,=tD8@a<
设置存储上传文件的目录夹 \=uKHNP?#
0(mkeIzJt/
struts.objectFactory E0u~i59Z
The com.opensymphony.xwork2.ObjectFactory implementation class CACTE
com.opensymphony.xwork2.ObjectFactory接口(spring) )Z(TCJ~~!
9:,V5n=
struts.objectFactory.spring.autoWire Cz72?[6
Whether Spring should autoWire or not :Qumb
是否自动绑定Spring !'mq ?C=
sA'6ty
struts.objectFactory.spring.useClassCache [* @5\NWR}
Whether Spring should use its class cache or not ;k7xMZs
是否spring应该使用自身的cache L1ieaKw
^zt-HDBR_
struts.objectTypeDeterminer {.QEc0-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @$LWWTr;
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5D_fXfx_|
Sg6"WV{<
struts.serve.static.browserCache V#cqRE3XNi
If static content served by the Struts filter should set browser caching header properties or not x/;bu W-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]T;EdK-
{)
Q@c)'
struts.serve.static R,F[XI+=N
Whether the Struts filter should serve static content or not q>mE<
(-M
是否struts过滤器应该提供静态内容 4d8B`Fa9
t*>R`,j
struts.tag.altSyntax enp)-nS0
Whether to use the alterative syntax for the tags or not 7qj9&bEy
是否可以用替代的语法替代tags ?RK]FP"A
HRiL.DS
struts.ui.templateDir <FWF<r3F
The directory containing UI templates 7RUofcax
UI templates的目录夹 ZJwrLV
JcbwDlUb
struts.ui.theme XVKfl3'%
The default UI template theme uoHNn7 W
默认的UI template主题 tZ^Ou89:rG
@1DX
struts.url.http.port 87=^J
xy
The HTTP port used by Struts URLs bzX\IrJpOZ
设置http端口 t%'Z<DmG+
gF[z fDm
struts.url.https.port $:
]o]a
The HTTPS port used by Struts URLs FI3)i>CnW
设置https端口 4$*%gL;f^
&4b&X0pU
struts.url.includeParams /%&2HDA)
The default includeParams method to generate Struts URLs %n
hm
在url中产生 默认的includeParams c0hwc1kv-
yto,>Utzg
-C<zF`jO
struts.velocity.configfile (*oL+ef-C
The Velocity configuration file path l-ct?T_@
velocity配置文件路径 &_"]5/"(
N5i+3&
struts.velocity.contexts Dh5X/y
List of Velocity context names H63,bNS s
velocity的context列表 _T2=J+"-Kp
\hhmVt@@
]3g?hM6
struts.velocity.manager.classname D3)zk@N
org.apache.struts2.views.velocity.VelocityManager implementation class
9A,^c;
org.apache.struts2.views.velocity.VelocityManager接口名 czm&~n6$
'B@e8S)y
struts.velocity.toolboxlocation Y]L9Y9
The location of the Velocity toolbox iVG-_RsKK
velocity工具盒的位置 ^my].Qpt
struts.xslt.nocache P#fM:z@[
Whether or not XSLT templates should not be cached qUxRM_7U
是否XSLT模版应该被缓存 =:/BV=tv