struts2的struts.properties配置文件详解 [0~qs|27
{ j/w3
struts.action.extension #Kh`ATme
The URL extension to use to determine if the request is meant for a Struts action Mq7|37(N[
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #JW1JCT
EAq >v
t83
struts.configuration 1gt[_P2u
The org.apache.struts2.config.Configuration implementation class d@w
I:
7
org.apache.struts2.config.Configuration接口名 L9kSeBt
tjTF?>^6|
struts.configuration.files [2FXs52
A list of configuration files automatically loaded by Struts )Tb;N
struts自动加载的一个配置文件列表 pD>3c9J'^F
J`x9XWYw
struts.configuration.xml.reload %2L9kw'
Whether to reload the XML configuration or not d")r^7
是否加载xml配置(true,false) 8WyG49eic
S`l CynGH
struts.continuations.package P,%|(qB
The package containing actions that use Rife continuations .9ROa#7U;n
含有actions的完整连续的package名称 nut7b
Kp&d9e{
Yc
struts.custom.i18n.resources ?_^9e
Location of additional localization properties files to load %idnm
加载附加的国际化属性文件(不包含.properties后缀) z[k2&=c
H{}6`;W
struts.custom.properties ]':C~-RV{
Location of additional configuration properties files to load 9rid98~d
加载附加的配置文件的位置 q OXL(
m0#hG
x
u(o @_6
struts.devMode 7dakj>JM
Whether Struts is in development mode or not C9nNziws
是否为struts开发模式 z^b\hR
-5qO}^i$a
struts.dispatcher.parametersWorkaround 1";~"p2(
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6S8l
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) asJYGqdF
}.hBmhnZmI
struts.enable.DynamicMethodInvocation @%TQ/L^|
Allows one to disable dynamic method invocation from the URL Qz<-xe`o8]
允许动态方法调用 Hc+<(g
S2NsqHJr
struts.freemarker.manager.classname +|0 m6)J]
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 49#-\=<gt
org.apache.struts2.views.freemarker.FreemarkerManager接口名 iKK=A.g
3a5H<3w_
struts.i18n.encoding dqkkA/1
The encoding to use for localization messages |/s.PNP2
国际化信息内码 8jZYy!
$wN .~"T
struts.i18n.reload O]Hg4">f
Whether the localization messages should automatically be reloaded ?y
'.sQ
是否国际化信息自动加载 vbFAS:Y:+
|'J3"am'
struts.locale i3GvTg-X
The default locale for the Struts application iIT<{m&`
默认的国际化地区信息 "2h#inS
lfKknp#B/O
struts.mapper.class !of7]s
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
jab]!eY
org.apache.struts2.dispatcher.mapper.ActionMapper接口 X-duG*~
t.zSJ|T_&O
struts.multipart.maxSize z6!X+`&
The maximize size of a multipart request (file upload) _I!Xr!!)a0
multipart请求信息的最大尺寸(文件上传用) _x
\Ll?,
lAGxE-B^a"
struts.multipart.parser z=xHk|+'
The org.apache.struts2.dispatcher.multipart. h}oQr0"c
MultiPartRequest parser implementation for a multipart request (file upload) 'L m
`L<`
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G'epsD,.bX
b'&pJ1]]}
w Vof_'F1
struts.multipart.saveDir [X
I5Bu ~
The directory to use for storing uploaded files *K)v&}uw
设置存储上传文件的目录夹 ;z?XT\C$
\xdt|:8
struts.objectFactory 3xe8DD
The com.opensymphony.xwork2.ObjectFactory implementation class yO6i "3
com.opensymphony.xwork2.ObjectFactory接口(spring) u7;A`
i~.[iZf|
struts.objectFactory.spring.autoWire y>OZ<!`
Whether Spring should autoWire or not MPB6
是否自动绑定Spring zZxP=
c
<|8l ;
struts.objectFactory.spring.useClassCache }J*&()`
Whether Spring should use its class cache or not ^4[\-L8Lpq
是否spring应该使用自身的cache NqWHR~&
Z:*U/_G
struts.objectTypeDeterminer aw 7f$Fqk
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
ZBXGuf
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lfA
BF
<,GHy/u\
struts.serve.static.browserCache vBpg6
fX
If static content served by the Struts filter should set browser caching header properties or not ~;+vF-]R
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 MJb = +L
5bw]cv$i
struts.serve.static T/K.'92S
Whether the Struts filter should serve static content or not $i1A470C
是否struts过滤器应该提供静态内容 lVFX@I =pI
4A&e+kz&:R
struts.tag.altSyntax {$t*Mb0
Whether to use the alterative syntax for the tags or not gB"Tc[l1
是否可以用替代的语法替代tags (HF,p,h_
epL[PL}
struts.ui.templateDir EH3G|3^xz
The directory containing UI templates yI%>
w4Z
UI templates的目录夹 EzyIsp> _
G225Nz;Y*
struts.ui.theme <8bO1t^*
The default UI template theme ~
/[Cgh0
默认的UI template主题 CvW((<?
D7.P
struts.url.http.port $SXxAS1
The HTTP port used by Struts URLs 9e&#;6l
设置http端口 S3'g(+S
U,M,E@
struts.url.https.port NQJqS?^W&M
The HTTPS port used by Struts URLs :6/OU9f/R
设置https端口 #R8l"]fxr?
J*Hn/m
struts.url.includeParams _HK&KY
The default includeParams method to generate Struts URLs ]aRD6F:L
在url中产生 默认的includeParams `|w#K28t"
+m.8*^
) T1oDk
struts.velocity.configfile *N r|G61
The Velocity configuration file path >FHsZKJ
velocity配置文件路径 -IS9uaT5
/RC!Yi
struts.velocity.contexts de6dLT>m
List of Velocity context names nnNg^<[k3
velocity的context列表 t4*A+"~j
%MJ7u}
&-:yn&f7
struts.velocity.manager.classname l{U 3;
org.apache.struts2.views.velocity.VelocityManager implementation class ,m?D\Pru
org.apache.struts2.views.velocity.VelocityManager接口名 b1u'ukDP\
% 4"~O
_S
struts.velocity.toolboxlocation gL"}5 3A
The location of the Velocity toolbox `Cf
en8
velocity工具盒的位置 Y/66`&,{
struts.xslt.nocache eW)I}z+{
Whether or not XSLT templates should not be cached W~F/ZrT3A
是否XSLT模版应该被缓存 a~7osRmp0