struts2的struts.properties配置文件详解 55oLj.l^j
(D8'qx-M
struts.action.extension zYOPE 6E
The URL extension to use to determine if the request is meant for a Struts action rr4yJ;qpeP
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 p Nu13o~
$ZDh8
*ND
struts.configuration ,>(M5\Z/c
The org.apache.struts2.config.Configuration implementation class H[x 9 7r
org.apache.struts2.config.Configuration接口名 ji(S ?^
D0QXvrf
struts.configuration.files t:M({|m Y
A list of configuration files automatically loaded by Struts S$"A[
struts自动加载的一个配置文件列表 7$GP#V1r/
@fpxGMy&
struts.configuration.xml.reload "`:#sF9S
Whether to reload the XML configuration or not qc\o>$-:`
是否加载xml配置(true,false) }7$\F!R
,XP9NHE
struts.continuations.package i=2+1;K
The package containing actions that use Rife continuations #U/B,`= >
含有actions的完整连续的package名称 [uRsB5
g{$&j*Q9
struts.custom.i18n.resources q@(N 38D
Location of additional localization properties files to load W,agPG\+
加载附加的国际化属性文件(不包含.properties后缀) j7-#">YL
]-.Q9cjc$q
struts.custom.properties %
wRJ"T`Tt
Location of additional configuration properties files to load @V :b Co
加载附加的配置文件的位置 of& vQ
nTu"
oS_p/$F,
struts.devMode <R{\pz2w
Whether Struts is in development mode or not .yWdlq##
是否为struts开发模式 Fr%KO)s2
udc9$uO
struts.dispatcher.parametersWorkaround `%ymg8^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0/K NXz
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &U
'Ds!
g1J]z<&
struts.enable.DynamicMethodInvocation f\(K ou$
Allows one to disable dynamic method invocation from the URL jv0e&rt
允许动态方法调用 >8NQ8i=]V1
5. l&nt'
struts.freemarker.manager.classname q>omCk%h
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |J}~a8o
org.apache.struts2.views.freemarker.FreemarkerManager接口名 3\@6i'
[1vrv(u>
struts.i18n.encoding NM]6 o
The encoding to use for localization messages I3s}t$`y(
国际化信息内码 8'cD K[L
3YT _GW{
struts.i18n.reload ;5=pBP.
Whether the localization messages should automatically be reloaded BLJ-'8G
是否国际化信息自动加载 "J{,P9P6
5d4-95['_
struts.locale Tf0#+6 1>
The default locale for the Struts application wOk:Q4OjL
默认的国际化地区信息 Yp
?
2<
|R[m&uOib
struts.mapper.class YT:5J%"
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .HtDcGp
org.apache.struts2.dispatcher.mapper.ActionMapper接口 )O&$-4gL'
U&eLj"XZ
struts.multipart.maxSize zR<jZwo]#
The maximize size of a multipart request (file upload) MoFZ
multipart请求信息的最大尺寸(文件上传用) |]]fcJOBP
xjX5 PQu
struts.multipart.parser OIWo*
%
The org.apache.struts2.dispatcher.multipart. er<~dqZ}]
MultiPartRequest parser implementation for a multipart request (file upload) L]tyL)
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G/`_$ c
XnG!T$
7PvuKAv?k
struts.multipart.saveDir [wOO)FjT
The directory to use for storing uploaded files 54)}^ftY^
设置存储上传文件的目录夹 yi%B5KF~Al
7xd}J(l
struts.objectFactory p{U8z\
The com.opensymphony.xwork2.ObjectFactory implementation class 9%dNktt
com.opensymphony.xwork2.ObjectFactory接口(spring) %Mu dc
{"y6l
struts.objectFactory.spring.autoWire A P\E
Whether Spring should autoWire or not !kz\
{
是否自动绑定Spring k4l72 'P
[j/-(?+
struts.objectFactory.spring.useClassCache (nzzX?`nY
Whether Spring should use its class cache or not D6m>>&E['
是否spring应该使用自身的cache r:o!w7C:a
\4&g5vE
struts.objectTypeDeterminer 6Rt pB\hq
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class '\;tmD"N5#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :dj@i6
1 h"B-x
struts.serve.static.browserCache
~.Gk:M
If static content served by the Struts filter should set browser caching header properties or not
)Ob{]
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p*'?(o:=
" h#=ctCx"
struts.serve.static jW*A(bK8:
Whether the Struts filter should serve static content or not nAYjSE
是否struts过滤器应该提供静态内容 WgL!@g
NdZ:
7
struts.tag.altSyntax {p/m+m
Whether to use the alterative syntax for the tags or not 9PBmBP~
是否可以用替代的语法替代tags a|>MueJ
}qg!Um0
struts.ui.templateDir Tld{b
The directory containing UI templates > w'6ZDA*X
UI templates的目录夹 R's xa*VB
LSs={RD2+p
struts.ui.theme Owr`ip\
The default UI template theme S&0x:VW
默认的UI template主题 =os j}(
{J]|mxo
struts.url.http.port ,s)H%
The HTTP port used by Struts URLs ~E\CAZ
设置http端口 BOG )JaDW
x{- caOH
struts.url.https.port kDKpuA!
The HTTPS port used by Struts URLs *SW,pHYnLb
设置https端口 @PI\.y_w
F,bl>;{[{
struts.url.includeParams t>[r88v
The default includeParams method to generate Struts URLs h
Na<LZ
在url中产生 默认的includeParams wVVe L$28
AjS5
oMVwIdf
struts.velocity.configfile j{PX ~/
The Velocity configuration file path :8ZxO wwv
velocity配置文件路径 Q&J,"Vxw
^/+sl-6/F
struts.velocity.contexts 8+u8piG
List of Velocity context names BAhC-;B#R
velocity的context列表 M Q6Y^,B
,y >Na{@Y
@K/Ia!Lw
struts.velocity.manager.classname @.{
org.apache.struts2.views.velocity.VelocityManager implementation class d.Z]R&X08
org.apache.struts2.views.velocity.VelocityManager接口名 r~TT c)2
MXy{]o_H~
struts.velocity.toolboxlocation aI<~+ ]
The location of the Velocity toolbox 1gE`_%?K
velocity工具盒的位置 q2Kn3{
struts.xslt.nocache jz)H?UuDY
Whether or not XSLT templates should not be cached A=$oYBB
是否XSLT模版应该被缓存 W)#`4a^xj7