struts2的struts.properties配置文件详解 bd&
/B&a
G9qN1q~
struts.action.extension EmFL
%++V
The URL extension to use to determine if the request is meant for a Struts action -:]-g:;/
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =ICakh!TO
;D>*Pzj
struts.configuration ;&$Nn'~a
The org.apache.struts2.config.Configuration implementation class d!z}!
:
org.apache.struts2.config.Configuration接口名 kuI%0)iZn
:`X!no; {
struts.configuration.files nMT"Rp
A list of configuration files automatically loaded by Struts WUfPLY_c(
struts自动加载的一个配置文件列表 L5{DWm~@
")xd 'V
struts.configuration.xml.reload Ro:DAxi@L
Whether to reload the XML configuration or not #=V[vbTY
是否加载xml配置(true,false) $!q(-+(
PN"s^]4
struts.continuations.package oEN^O:9e
The package containing actions that use Rife continuations ]ML(=7z"
含有actions的完整连续的package名称 M[1!#Q><!
IizPu4|
struts.custom.i18n.resources
|08'd5
Location of additional localization properties files to load
p~bx
加载附加的国际化属性文件(不包含.properties后缀) O*dtVX
@SX-=Nr
struts.custom.properties ='z4bU
Location of additional configuration properties files to load Yb?L:,a(I
加载附加的配置文件的位置 41oXOB
Op>l~{{{
)Bo]+\2
struts.devMode :41Ch^\E
Whether Struts is in development mode or not zxhE9 [`*e
是否为struts开发模式 /Y_)dz^@
~A-Y%P
struts.dispatcher.parametersWorkaround yR'%UpaE
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kl+^0i
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Xub<U>e;b
(_.0g}2
struts.enable.DynamicMethodInvocation E#A%aLp0E
Allows one to disable dynamic method invocation from the URL _7=LSf,9
允许动态方法调用 mYRsM s
+>Xe_
struts.freemarker.manager.classname 2^f6@;=M
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 57~/QEdy
org.apache.struts2.views.freemarker.FreemarkerManager接口名 'OjsV$_
15dbM/Gj
struts.i18n.encoding 2b89th
The encoding to use for localization messages `"RT(` m
国际化信息内码 LEn+0^hX
?j^:jV
struts.i18n.reload [==x4Nb
Whether the localization messages should automatically be reloaded FA7q
pc
是否国际化信息自动加载 U,7O{YM
4Uzx2
struts.locale
qC4Q+"'
The default locale for the Struts application `-)Hot)
默认的国际化地区信息 =4_Er{AT
HB:VpNFn
struts.mapper.class 0CR~ vQf#r
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C>~ms2c
org.apache.struts2.dispatcher.mapper.ActionMapper接口 zNRR('B?
HpGI\s
struts.multipart.maxSize QFX/x
The maximize size of a multipart request (file upload) (Rs052m1
multipart请求信息的最大尺寸(文件上传用) [#mRlL0yk
(JI[y"2
struts.multipart.parser <yg!D21Y
The org.apache.struts2.dispatcher.multipart. B$D7}=|kc
MultiPartRequest parser implementation for a multipart request (file upload) 8lZB3p]X
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) UY~N4IR8
t4[<N
al@Hr*'
struts.multipart.saveDir 2Sb68hJIE
The directory to use for storing uploaded files OGWZq(c"6
设置存储上传文件的目录夹 x3tos!Y
JZ>E<U9&
struts.objectFactory J2avt
The com.opensymphony.xwork2.ObjectFactory implementation class rZ:-%#Q4
com.opensymphony.xwork2.ObjectFactory接口(spring) ;w(tXcXZ
/+JHnedK
struts.objectFactory.spring.autoWire a,`f`;\7N%
Whether Spring should autoWire or not -.t/c}a#
是否自动绑定Spring ]X\p\n'@j
\.K4tY+V
struts.objectFactory.spring.useClassCache #BhDC.CcW
Whether Spring should use its class cache or not Wz&[cj
是否spring应该使用自身的cache H7?Sd(U
z;Yo76P
struts.objectTypeDeterminer L{F[>^1Sb
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 155vY
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 F!qt=)V@w
o8c5~fG1
struts.serve.static.browserCache <Gw>}/-^
If static content served by the Struts filter should set browser caching header properties or not reI4!,x
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .9VhDrCK
bx._,G
struts.serve.static '4e,
e|r
Whether the Struts filter should serve static content or not U-:"Wx%G
是否struts过滤器应该提供静态内容 wY xk[)&Y
*&O4b3R
struts.tag.altSyntax 5KgAY;|
Whether to use the alterative syntax for the tags or not @O9wit.
是否可以用替代的语法替代tags ,vs# (d6 G
hq*"S-N
struts.ui.templateDir uWDWf5@
The directory containing UI templates 4`zK`bRcK#
UI templates的目录夹 }CGA)yK~3
PfjD!=yS=h
struts.ui.theme 8{DW$ZtR
The default UI template theme f~P~%
默认的UI template主题 %pj T?G7
8z)J rO}
struts.url.http.port tb/`*Yl@
The HTTP port used by Struts URLs 9(pF!}1%\
设置http端口 (;cKv
c0f8*O4i
struts.url.https.port BK)3b6L=%
The HTTPS port used by Struts URLs W'{o`O=GGr
设置https端口 4)Ab]CdD
)'i n}M
struts.url.includeParams pv"QgH
The default includeParams method to generate Struts URLs 'BX
U'
在url中产生 默认的includeParams D $&6 8
B+4WnR1%T
)~be<G( a
struts.velocity.configfile &|I{ju_
The Velocity configuration file path -58Sb"f
velocity配置文件路径 S5/p3;O\c
qlm7eS"sy
struts.velocity.contexts o7kQ&w
List of Velocity context names oCSJ<+[(C
velocity的context列表 &6&$vF65c
N~vK8j@
OICH:(t_
struts.velocity.manager.classname uFnq 3m^u
org.apache.struts2.views.velocity.VelocityManager implementation class Y$0K}`{
org.apache.struts2.views.velocity.VelocityManager接口名 [oG
Sy5bB
d$B+xW
struts.velocity.toolboxlocation WXFCe@
The location of the Velocity toolbox 3eN(Sw@p
velocity工具盒的位置 <RCeY(1
struts.xslt.nocache ~tZy-1
Whether or not XSLT templates should not be cached t*wV<b
是否XSLT模版应该被缓存 Q5 =