struts2的struts.properties配置文件详解 X0Zr?$q
2:Rxyg@'
struts.action.extension DgRA\[c
The URL extension to use to determine if the request is meant for a Struts action 'qnnZE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E@D}Sqt
D$/*Z5Z)]
struts.configuration A Z& ]@Ao
The org.apache.struts2.config.Configuration implementation class t9+ME|
org.apache.struts2.config.Configuration接口名 O*y@4AR"S
iTg7@%
struts.configuration.files *u?N{LkqS
A list of configuration files automatically loaded by Struts /{+77{#Qn
struts自动加载的一个配置文件列表 0
|Y'@&
-3eHJccB
struts.configuration.xml.reload ;'xd8Jf
Whether to reload the XML configuration or not BHEZ<K[U
是否加载xml配置(true,false) n
2m!a0;
`Wy8g?d;bn
struts.continuations.package HE>sZ;
The package containing actions that use Rife continuations !>gu#Q{\-
含有actions的完整连续的package名称 (&ABfm/t
[sweN]b6F
struts.custom.i18n.resources u @eKh3!
Location of additional localization properties files to load z8\;XR
加载附加的国际化属性文件(不包含.properties后缀) 3f^~mTY9>]
/ng+IC3
struts.custom.properties PTFe>~vr*
Location of additional configuration properties files to load sCw X|
加载附加的配置文件的位置 ( R0>0f@
V=DT.u
';OZP2
struts.devMode ;^Y]nsd
Whether Struts is in development mode or not SB\T
iH/
是否为struts开发模式 )Y:9sd8g7
PDH00(#;+
struts.dispatcher.parametersWorkaround o6~9.~_e
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic X__>r ?oJ
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I]OVzM
1} h''p
struts.enable.DynamicMethodInvocation \4r?=5v*
Allows one to disable dynamic method invocation from the URL /vG)n9Rc
允许动态方法调用 Bm&% N?9
_ZD8/?2QV
struts.freemarker.manager.classname Lavm
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u"*Wo'3I|
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }9,^=g-
MEZc/Ru-[
struts.i18n.encoding &@anv.D
The encoding to use for localization messages 69>N xr~k
国际化信息内码 =fZMute
uY'77,G_J
struts.i18n.reload eX9Hwq4X44
Whether the localization messages should automatically be reloaded k yI -nE
是否国际化信息自动加载 (@y te
j/+e5.EX/
struts.locale aur4Ky> :
The default locale for the Struts application aE'nW@YL.
默认的国际化地区信息 =TzmhX5
4fp]z9Y
struts.mapper.class fX[6
{
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =
rLL5<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 t@1bu$y
3]u[NR
struts.multipart.maxSize !Hp H
The maximize size of a multipart request (file upload) *MBu5
+u%e
multipart请求信息的最大尺寸(文件上传用) @|cfFT
W
C0bOPn
struts.multipart.parser $<N!2[I L
The org.apache.struts2.dispatcher.multipart. %]15=7#'y
MultiPartRequest parser implementation for a multipart request (file upload) u:FFZ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #=* y7w
ao(lj
LAT%k2%Wx
struts.multipart.saveDir @&G< Np`
The directory to use for storing uploaded files cLpkgK&a
设置存储上传文件的目录夹 ;[~:Y[N
klKd !
struts.objectFactory ?UPZ49y
The com.opensymphony.xwork2.ObjectFactory implementation class Z1t?+v+Ro*
com.opensymphony.xwork2.ObjectFactory接口(spring) e<;^P(g`E
SpB\kC"K
struts.objectFactory.spring.autoWire W$X@DXT=o
Whether Spring should autoWire or not .h;PMY+
是否自动绑定Spring !y{t}|U/d
;HPQhN_
struts.objectFactory.spring.useClassCache M_Qv{
Whether Spring should use its class cache or not apxY2oE&
是否spring应该使用自身的cache }wh
sZ
xc HG5bg|
struts.objectTypeDeterminer ."#M
X!
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s^n}m#T
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V>YZ^>oeH
1sT%g}w@|
struts.serve.static.browserCache a9=pZ1QAG
If static content served by the Struts filter should set browser caching header properties or not 8.'[>VzBL
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ! 9U
RrPo89o
struts.serve.static ;GgW&*|
Whether the Struts filter should serve static content or not wCwJ#-z.=
是否struts过滤器应该提供静态内容 w>q:&Q
#s-^4znv9
struts.tag.altSyntax W_ =
Whether to use the alterative syntax for the tags or not 6_s_2cr
是否可以用替代的语法替代tags HZHzjrx
yl=_ /'*
struts.ui.templateDir F {g^4
The directory containing UI templates W_##8[r(?
UI templates的目录夹 1gTW*vLM\
4%3R}-'mh
struts.ui.theme b&l/)DU
The default UI template theme D_HE!fl
默认的UI template主题 .=nx5yz
@vC7j>*4B
struts.url.http.port Q^iE,_Zq
The HTTP port used by Struts URLs p..O;_U
设置http端口 H)Zb _>iV
xgX"5Czvv`
struts.url.https.port 0(Hhb#WDh\
The HTTPS port used by Struts URLs sU/R$Nbr
设置https端口 Dj~]]
:UyNa0$l:"
struts.url.includeParams 0M'[|cid|
The default includeParams method to generate Struts URLs L6xLD X7y
在url中产生 默认的includeParams bvuoo/
4|Wglri
g@va@*|~d
struts.velocity.configfile x1$:u6YD22
The Velocity configuration file path ~is$Onf99#
velocity配置文件路径 /%#LA
F%8W*Y699
struts.velocity.contexts
!IZbMn6
List of Velocity context names Q
UQ"2oC
velocity的context列表 Aj9Onz,Lg
~1NK@=7T
C{i9~80n
struts.velocity.manager.classname X/
\5j
org.apache.struts2.views.velocity.VelocityManager implementation class }|k_sx:
org.apache.struts2.views.velocity.VelocityManager接口名 0{8^)apII
[BH^SvE
struts.velocity.toolboxlocation >#q2KXh
The location of the Velocity toolbox *q ?-M"K
velocity工具盒的位置 #q06K2
struts.xslt.nocache c\n&Z'vK
Whether or not XSLT templates should not be cached 6(Qr!<
是否XSLT模版应该被缓存 S~8w- lG!