struts2的struts.properties配置文件详解 y
Tw',N{
4aN+}TkH@G
struts.action.extension eyf4M;goz}
The URL extension to use to determine if the request is meant for a Struts action /~Zc}o,J
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~)wwX:;B_
h7EUIlh"
struts.configuration 7~ *;=,mw
The org.apache.struts2.config.Configuration implementation class gj[ >p=Wn
org.apache.struts2.config.Configuration接口名 WbQhlsc:
mX@j
struts.configuration.files mNx,L+3
A list of configuration files automatically loaded by Struts *9dV/TT~f[
struts自动加载的一个配置文件列表 gp$EXJ=
W1?!iE~tO
struts.configuration.xml.reload 2{mY:\
Whether to reload the XML configuration or not |I}A>XG
是否加载xml配置(true,false) Kd/[Bs%
Ehb?CnV#J
struts.continuations.package >HcYVp~G
The package containing actions that use Rife continuations TwM1M["3
含有actions的完整连续的package名称 ,b6kTQq
tg7C;rJ
struts.custom.i18n.resources {5QosC+o6Q
Location of additional localization properties files to load H}h~~7E
加载附加的国际化属性文件(不包含.properties后缀) 0
OAqA?Z
YER:ICQ
struts.custom.properties ZI58XS+
Location of additional configuration properties files to load DYo<5^0
加载附加的配置文件的位置 wi\z>'R
Y_[g_
068WlF cWV
struts.devMode y _'e yR@)
Whether Struts is in development mode or not ;'=VrE6
是否为struts开发模式 X2\E9hJg
X)Dqeb6
struts.dispatcher.parametersWorkaround UsLh)#}h
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "JzfL(yt
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /&D'V_Q`*
BgJkrv7~
struts.enable.DynamicMethodInvocation %"l81z
Allows one to disable dynamic method invocation from the URL M'cJ)-G
允许动态方法调用 uX[O,l^}
e1%rVQ(v
struts.freemarker.manager.classname g|ql 5jW
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class FNz84qVIx'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 YO@hE>
n 5~=qQK2
struts.i18n.encoding CgVh\4,a
The encoding to use for localization messages s.^c..e75C
国际化信息内码 *nYB o\@g
K4j@j}zK9I
struts.i18n.reload qs!>tw
Whether the localization messages should automatically be reloaded kF+ZW%6N
是否国际化信息自动加载 ra]!4Kd'
iD%qy /I/
struts.locale Az
U|p
The default locale for the Struts application MxY50^}(
默认的国际化地区信息 tCZpfZ@+=
`GvA241
struts.mapper.class tCWJSi`IJ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <^#P6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 J#6LSD@(O
n&_YYEHx
struts.multipart.maxSize @<vF]\Ce
The maximize size of a multipart request (file upload) _/|8%])
multipart请求信息的最大尺寸(文件上传用) G$cxDGo
HG3.~ 6X
struts.multipart.parser sL)Rg(rkx
The org.apache.struts2.dispatcher.multipart. 5{')GTdX>
MultiPartRequest parser implementation for a multipart request (file upload) "w*@R8v
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) shM{Y9~O9&
=MMCf0
HS{P?~:=U
struts.multipart.saveDir M'^(3#ZU
The directory to use for storing uploaded files C0zrXhY_v
设置存储上传文件的目录夹 @(i*-u3Tq
jZrY=f
struts.objectFactory 8dc538:q}
The com.opensymphony.xwork2.ObjectFactory implementation class _kh>Z
com.opensymphony.xwork2.ObjectFactory接口(spring) BiA>QQ
Ru)(dvk}S
struts.objectFactory.spring.autoWire e@[9C(5E"
Whether Spring should autoWire or not >RM
0=bO
是否自动绑定Spring [/?c@N,
v-ThdE$G#
struts.objectFactory.spring.useClassCache +d =~LQ}*
Whether Spring should use its class cache or not 7.%f01/i
是否spring应该使用自身的cache -<O JqB
)j\r,9<K+5
struts.objectTypeDeterminer 0[lS(K
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?^U c=
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 BApa^j\?
]X*YAPv
struts.serve.static.browserCache SLSF
<$
If static content served by the Struts filter should set browser caching header properties or not GL/ KB
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /a%*u6z@
=]T|h
struts.serve.static [d0%.+U
Whether the Struts filter should serve static content or not h:f;mn?x
是否struts过滤器应该提供静态内容 FnY$)o;
77``8,
struts.tag.altSyntax 6!Qknk$
Whether to use the alterative syntax for the tags or not AQ-mE9>P
是否可以用替代的语法替代tags ^ b@!dS
?F1wh2oq
struts.ui.templateDir Pfm*<,'x"[
The directory containing UI templates )eECOfmnZ
UI templates的目录夹 0X.TF
B-$+UE>%
struts.ui.theme XHy?
The default UI template theme }bp.OV-+
默认的UI template主题 3a%xn4P
`%uK0qw"
struts.url.http.port S:#e8H_7m]
The HTTP port used by Struts URLs Im6U_JsNZh
设置http端口 Q]/B/
N50fL
struts.url.https.port sqT^t!
The HTTPS port used by Struts URLs 6Hda]y
设置https端口 #aa1<-&H
rxs8De
struts.url.includeParams B9}E
{)T?
The default includeParams method to generate Struts URLs M=W
4:H,gx
在url中产生 默认的includeParams YtMlqF
#L\o;p(
+miR3~w.
struts.velocity.configfile ANotUty;y
The Velocity configuration file path u-kZW1wrQ
velocity配置文件路径 ~*,Wj?~+7
> <X $#
struts.velocity.contexts w m19T7*L
List of Velocity context names mdaYYD=c%
velocity的context列表 # J]~
<iRWd
X3AwM%,!
struts.velocity.manager.classname zLL)VFCJW
org.apache.struts2.views.velocity.VelocityManager implementation class n%*tMr9 s
org.apache.struts2.views.velocity.VelocityManager接口名 BO"qD[S
KYf;_C,$
struts.velocity.toolboxlocation fL2^\dB;
The location of the Velocity toolbox g#}tm<
velocity工具盒的位置 9Yn)t#G'`F
struts.xslt.nocache :b5XKv^
Whether or not XSLT templates should not be cached W]zwghxH
是否XSLT模版应该被缓存 e]+7DE