struts2的struts.properties配置文件详解 i8pM,Ppi~
_hyboQi
struts.action.extension I=X-e#HM?
The URL extension to use to determine if the request is meant for a Struts action Wf/Gt\?
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n5dFp%k
O,6Upk
struts.configuration $wUFHEl
The org.apache.struts2.config.Configuration implementation class N%!8 I
org.apache.struts2.config.Configuration接口名 mh;<lW\K/Z
PeGL
Rbx34
struts.configuration.files )O~LXK=b
A list of configuration files automatically loaded by Struts s@sRdoTdF
struts自动加载的一个配置文件列表 k"F5'Od
b=v
struts.configuration.xml.reload mY?^]3-_
Whether to reload the XML configuration or not ^Ts|/+}'i
是否加载xml配置(true,false) MjCD;I:C.
uc9t0]o=h
struts.continuations.package /,dcr*
The package containing actions that use Rife continuations @G< J+pm
含有actions的完整连续的package名称 BYt#aqf
|SC^H56+
struts.custom.i18n.resources VE5w!of
Location of additional localization properties files to load KCd}N
加载附加的国际化属性文件(不包含.properties后缀) %cMX]U
rlr)n\R#
struts.custom.properties :&ir5xHS
Location of additional configuration properties files to load =4cK9ac
加载附加的配置文件的位置 4hdxqI!y2
T!e]=
YL\d2
struts.devMode W]MKc&R
Whether Struts is in development mode or not XB,
2+
是否为struts开发模式 KB49~7XjQ@
OcQ>01Q
struts.dispatcher.parametersWorkaround s*{l}~fPkW
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Pn|A>.)z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Br.$:g#
hN*,]Z{
struts.enable.DynamicMethodInvocation uu L"o
Allows one to disable dynamic method invocation from the URL yi*)g0M
允许动态方法调用 cjfYE]
n{JBC%^g
struts.freemarker.manager.classname 1o\P7PLe
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class asqbLtQ
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,> lOmyh
j\&
`
struts.i18n.encoding *4#)or
The encoding to use for localization messages jY'svD~
国际化信息内码 ;Ak<O[
V(Ll]g/T_;
struts.i18n.reload PjZsMHW%
Whether the localization messages should automatically be reloaded ;Z|X` <6g
是否国际化信息自动加载 7YT%.ID
yq+'O&+
struts.locale bb}zn'xC
The default locale for the Struts application mn;;wp
默认的国际化地区信息 ek!x:G$'
KdIX`
struts.mapper.class v3!oY t:l
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N>##}i
org.apache.struts2.dispatcher.mapper.ActionMapper接口 9}^nozR,I
y}5V3)P
struts.multipart.maxSize QcJ?1GwA"
The maximize size of a multipart request (file upload) =.`(KXT
multipart请求信息的最大尺寸(文件上传用) F#_JcEE
U@21N3_@_
struts.multipart.parser \M0-$&[+Z
The org.apache.struts2.dispatcher.multipart. ?145^ w
MultiPartRequest parser implementation for a multipart request (file upload) ;sd[Q01
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z .6M~
vAWJP_ ;J
Bfe#,
struts.multipart.saveDir F N6GV
The directory to use for storing uploaded files S}6Ty2.\
设置存储上传文件的目录夹 "8}p>gS
As0E'n85
struts.objectFactory .CGPG,\2
The com.opensymphony.xwork2.ObjectFactory implementation class G"P@AOw
com.opensymphony.xwork2.ObjectFactory接口(spring) KvENH=oh
J'c]':U
struts.objectFactory.spring.autoWire _'DT)%K
Whether Spring should autoWire or not iJ n<
是否自动绑定Spring jMv qKJ(<
-|;{/ s5
struts.objectFactory.spring.useClassCache -xs@rV`
Whether Spring should use its class cache or not {a aI<u
是否spring应该使用自身的cache <QbD ; (%
Kn-cwz5
struts.objectTypeDeterminer "ee:Z_Sz
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &?N1-?BjM
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 hG~4i:p
<
d-/{@
struts.serve.static.browserCache s2=rj?g&(X
If static content served by the Struts filter should set browser caching header properties or not "(bnr0
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 YaiogA
Xc"l')1H
struts.serve.static MLwh&I9)
Whether the Struts filter should serve static content or not i) v
]
是否struts过滤器应该提供静态内容 {8+FxmH
v?Dc3
struts.tag.altSyntax n;&08M5an}
Whether to use the alterative syntax for the tags or not ,z<J`n
是否可以用替代的语法替代tags E4;vC ?K{
SFhi]48&V
struts.ui.templateDir |@'/F #T
The directory containing UI templates I/YBL
UI templates的目录夹 \fC)]QZ
ptJ58U$Bb
struts.ui.theme sa 8JN.B
The default UI template theme Y%<y`]I
默认的UI template主题 eS(hLXE!7
<12 ia"}
struts.url.http.port ToMvP B);
The HTTP port used by Struts URLs zT$-%
设置http端口 4lrF{S8
|v,%!ps
struts.url.https.port 9N1Uv,OtB
The HTTPS port used by Struts URLs {A!1s;
设置https端口 h-r\1{Q1]
r{NCI
struts.url.includeParams P5$d#Y(=
The default includeParams method to generate Struts URLs $sF'Sr{)y
在url中产生 默认的includeParams \dvzL(,
BK>3rjXi>a
%f[0&)1!.v
struts.velocity.configfile B=dF\.&Z
The Velocity configuration file path ]b5E_/P
velocity配置文件路径 HURrk~[
iCd$gwA>F
struts.velocity.contexts ^a+W!
List of Velocity context names MnToL@
velocity的context列表 F)fCj^zL
K4w %XVaH
C8ss6+k&
struts.velocity.manager.classname kyV!ATL1F
org.apache.struts2.views.velocity.VelocityManager implementation class q8DSKi
org.apache.struts2.views.velocity.VelocityManager接口名 ,uz+/K%OA5
}
@r|o:I
struts.velocity.toolboxlocation nV`n=x
The location of the Velocity toolbox *xHj*
velocity工具盒的位置 =AaTn::e/
struts.xslt.nocache }ACWSk WK
Whether or not XSLT templates should not be cached :+?eF^5
是否XSLT模版应该被缓存 m@(8-_