struts2的struts.properties配置文件详解 > mk>VM
_3~/Z{z8
struts.action.extension )31{.c/
The URL extension to use to determine if the request is meant for a Struts action /N '0@q
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l1HMH?0|
jlXzfDT
struts.configuration v#c'p^T
The org.apache.struts2.config.Configuration implementation class 3CcCcZ9I
org.apache.struts2.config.Configuration接口名 h}0}g]IUx
o^+2%S`]
struts.configuration.files 2@~.FBby7@
A list of configuration files automatically loaded by Struts !LJE o>D
struts自动加载的一个配置文件列表 ua%@Ay1|
,Pi!%an w
struts.configuration.xml.reload M~+}ss
Whether to reload the XML configuration or not xP/?E
是否加载xml配置(true,false) VW&EdrR,S
)cP&c=
struts.continuations.package S1$lNB
The package containing actions that use Rife continuations e<A6=}
含有actions的完整连续的package名称 8L1vtYz
Ec'Hlsgh&T
struts.custom.i18n.resources nQ*9E|Vx
Location of additional localization properties files to load 5ir
Ffr
加载附加的国际化属性文件(不包含.properties后缀) L)(JaZyV5
1V
,Mk#_
struts.custom.properties 7M8oI.?C|
Location of additional configuration properties files to load yzyBr1s
加载附加的配置文件的位置 RD6n1Wb(@
C fs2tN
vG'6?%38
struts.devMode
3-~*
Whether Struts is in development mode or not _nwsIjsW
是否为struts开发模式 $/p0DY
{#` O'F>
struts.dispatcher.parametersWorkaround {&dbxj-'
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "%peYNZ&%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Fc&3tw"g
76::X:76
struts.enable.DynamicMethodInvocation d?ru8
Allows one to disable dynamic method invocation from the URL _+7+90u
允许动态方法调用 2JdzeJb
S@Iza9\|@
struts.freemarker.manager.classname A>\5fO
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4t
5i9+h
org.apache.struts2.views.freemarker.FreemarkerManager接口名 |VX )S!
&u+l`F^Z
struts.i18n.encoding VdL*"i
The encoding to use for localization messages ~ECIL7,
国际化信息内码 =e)t,YVm
pq"Z,9,F%
struts.i18n.reload zEVQ[y6BcM
Whether the localization messages should automatically be reloaded zsM2R"[X
是否国际化信息自动加载 PfR|\{(
HOaNhJ{7D
struts.locale JtvZ~s
The default locale for the Struts application #7Fdmnu`
默认的国际化地区信息 ^%n]_[RUn4
vmzc0J+3p
struts.mapper.class Yj CH KI"e
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q@Aw]Kh
org.apache.struts2.dispatcher.mapper.ActionMapper接口 6,;dU-A +
`.z"Q%uz
struts.multipart.maxSize \OJam<hZ
The maximize size of a multipart request (file upload) .} O@<t
multipart请求信息的最大尺寸(文件上传用) 8$F"!dc _
I1pnF61U
struts.multipart.parser ,B~5;/|
The org.apache.struts2.dispatcher.multipart. 57wHo[CJ
MultiPartRequest parser implementation for a multipart request (file upload) 'aWqj+Wbh
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) **V8a-@
n!dXjInV
yJK:4af;.
struts.multipart.saveDir R 7h^
@
The directory to use for storing uploaded files [I?[N.v
设置存储上传文件的目录夹 G! Y
l0Zr
,&~-Sq)~
struts.objectFactory Ij>G7Q*d
The com.opensymphony.xwork2.ObjectFactory implementation class A`~R\j
com.opensymphony.xwork2.ObjectFactory接口(spring) i/.#`
=,b6yV+$D
struts.objectFactory.spring.autoWire .C\2f+(U
Whether Spring should autoWire or not )IVk4|
是否自动绑定Spring %9
3R/bx
^Gi7th,
struts.objectFactory.spring.useClassCache Cnr=1E=
Whether Spring should use its class cache or not v M'!WVs
是否spring应该使用自身的cache t`1M}}.
#iKPp0`K*
struts.objectTypeDeterminer ExhK\J
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class g`z;:ao
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E~@&&dU8
'7Mz]@
struts.serve.static.browserCache Ze!/b|`xI
If static content served by the Struts filter should set browser caching header properties or not q`'m:{8
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cQkj{u
)K8^}L,
struts.serve.static +Wl]1
c/
Whether the Struts filter should serve static content or not uO>x"D5tZ:
是否struts过滤器应该提供静态内容 7Ll?#eun
Q45gC28x
struts.tag.altSyntax QQ`tSYgex
Whether to use the alterative syntax for the tags or not m@Dra2Cv'@
是否可以用替代的语法替代tags o~<jayqU
D<hX%VJ%M
struts.ui.templateDir TMGYNb%<bX
The directory containing UI templates ihJ!]#Fbm
UI templates的目录夹 ch2m Ei(
+DG-MM%\
struts.ui.theme `_f&T}]
The default UI template theme Kton$%Li
默认的UI template主题 Egz6rRCvg
1Ys)b[:
struts.url.http.port \QQWh wE
The HTTP port used by Struts URLs &xt[w>/i
设置http端口 w~_ycY.e
2 OV$M~
struts.url.https.port l{*m-u 5&;
The HTTPS port used by Struts URLs pIV|hb!G
设置https端口 <FX]n<
ow
struts.url.includeParams Zor!hc0<
The default includeParams method to generate Struts URLs =),O ;M
在url中产生 默认的includeParams P*jiz@6
,PoG=W
\K9.]PfbI
struts.velocity.configfile fWPa1E@
The Velocity configuration file path *s#6e}
velocity配置文件路径 mz Cd@<T,
);T&pm:C>
struts.velocity.contexts TMD\=8Na
List of Velocity context names ,RDWx
velocity的context列表 q %j8Js
{Q[ G/=mx
:f:&B8
struts.velocity.manager.classname
lI%RdA[
org.apache.struts2.views.velocity.VelocityManager implementation class Yecdw'BW?
org.apache.struts2.views.velocity.VelocityManager接口名 {sxdDl
)3A+Ell`
struts.velocity.toolboxlocation eIy:5/s
The location of the Velocity toolbox fs yVu|G
velocity工具盒的位置 w_V A:]j4
struts.xslt.nocache {Mj- $G"
Whether or not XSLT templates should not be cached ,cxe"U
是否XSLT模版应该被缓存 giH#t< )W