struts2的struts.properties配置文件详解 w"dKOdY
=QtFJ9\
struts.action.extension `\\s%}vZ*T
The URL extension to use to determine if the request is meant for a Struts action N5sVRL"7
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GxG~J4
Tjrb.+cua
struts.configuration G&1bhi52
The org.apache.struts2.config.Configuration implementation class "uIaKb
org.apache.struts2.config.Configuration接口名 c};%VB
Z/?{{}H+
struts.configuration.files \({'Xo >(
A list of configuration files automatically loaded by Struts U1)Zh-aR
struts自动加载的一个配置文件列表 we^'R}d
5BXku=M
struts.configuration.xml.reload t ;h`nH[
Whether to reload the XML configuration or not z5M6
是否加载xml配置(true,false) -40X3
_ ~\} fY
struts.continuations.package Is}kCf
The package containing actions that use Rife continuations a%b E}
含有actions的完整连续的package名称 Rb:<?&7ZzN
<YU4RZ
struts.custom.i18n.resources YkB@fTTS
Location of additional localization properties files to load 1eshuL
加载附加的国际化属性文件(不包含.properties后缀) KHHYk>FR
;xzaW4(3
struts.custom.properties xt,Qn460;
Location of additional configuration properties files to load -mRgB"8
加载附加的配置文件的位置 oU\7%gQ
-q{N1?tcy
g:JSy
struts.devMode L98T!5)
Whether Struts is in development mode or not ~).D\Q\
是否为struts开发模式 Q35\wQ#
p2t04p!
struts.dispatcher.parametersWorkaround H2Wlgt
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8^j~uH
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j+ -r(lZ
J({D~
struts.enable.DynamicMethodInvocation
0]c&K
Allows one to disable dynamic method invocation from the URL llX `
允许动态方法调用 ?%Nh4+3N>
[tfB*m5
struts.freemarker.manager.classname OmBz'sp:
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class
-NN=(p!<
org.apache.struts2.views.freemarker.FreemarkerManager接口名 a0sz$u
!a F~5P7%
struts.i18n.encoding V27RK-.N!
The encoding to use for localization messages S}%z0g<
国际化信息内码 +c<iVc|
r \ft{Z<P
struts.i18n.reload /ugyUpyg
Whether the localization messages should automatically be reloaded w($a'&d`0
是否国际化信息自动加载 1r$-U h
iUR ij@
struts.locale YFB>GQ;
The default locale for the Struts application }5oI` 9VT
默认的国际化地区信息 Uz! 3){E
Jk\-e`eE
struts.mapper.class #d\&6'O
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S5 q1Mn
org.apache.struts2.dispatcher.mapper.ActionMapper接口 lRg?||1ik
eZT8gKbjJ)
struts.multipart.maxSize 1a{3k#}
The maximize size of a multipart request (file upload) &Z]}rn
multipart请求信息的最大尺寸(文件上传用) Z@+nkTJ9&t
/v5A)A$7
struts.multipart.parser 8ex;g^e
The org.apache.struts2.dispatcher.multipart. V2T%tn;rp
MultiPartRequest parser implementation for a multipart request (file upload) JXU?'@QY
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,k4pW&A
oxc;DfJ_
PJN9[Y{^3
struts.multipart.saveDir B1nm?E 0i
The directory to use for storing uploaded files C&w0HoF
设置存储上传文件的目录夹 &F~d~;G"q
o(jLirnk
struts.objectFactory ZJBb%d1;
The com.opensymphony.xwork2.ObjectFactory implementation class tjXg
com.opensymphony.xwork2.ObjectFactory接口(spring) ktTP~7UVi
aHW34e@ebL
struts.objectFactory.spring.autoWire \~,\|
Whether Spring should autoWire or not \Yr*x7!
是否自动绑定Spring d%'#-w'
B0Wf$
s^7t
struts.objectFactory.spring.useClassCache v~L\[&|_
Whether Spring should use its class cache or not
FJ~d&L\l
是否spring应该使用自身的cache /y-D_
I{(!h90
struts.objectTypeDeterminer lgU!D |v
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class BVb^ xL
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LsERcjwwK
^ l]!'"
struts.serve.static.browserCache !s=$UC
If static content served by the Struts filter should set browser caching header properties or not o1(;"5MM
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Wds>'zzS
c 1F^Gj!8
struts.serve.static K& ^qn&
Whether the Struts filter should serve static content or not lUEbxN
是否struts过滤器应该提供静态内容 Nz`8)Le
"crR{OjE"
struts.tag.altSyntax ,#ZPg_x?1
Whether to use the alterative syntax for the tags or not 9#:nlu9
是否可以用替代的语法替代tags K.}jOm
S#C-j D
struts.ui.templateDir Zio!j%G
The directory containing UI templates *Sj)9mp
UI templates的目录夹 o-RZwufZ`
w ea
struts.ui.theme ^vd$j-kjTP
The default UI template theme qco'neR"z
默认的UI template主题 # atq7tX
>]~581fYf
struts.url.http.port Y0,{fw<
The HTTP port used by Struts URLs 1sj7]G]`k
设置http端口 *b) (-#w3
l.pxDMY
struts.url.https.port ~wW]ntZm
The HTTPS port used by Struts URLs 2Cp4aTGv#
设置https端口 GCN-T1HvA2
L.@$rFhA
struts.url.includeParams |9S8sfw
The default includeParams method to generate Struts URLs <h/q^| tZ{
在url中产生 默认的includeParams [m:cO6DM,
_1gNU]"
WMtFXkf6"
struts.velocity.configfile C:Rs~@tl
The Velocity configuration file path I20~bW
velocity配置文件路径 1M??@@X
G)<B7-72;
struts.velocity.contexts )4uWB2ZRoi
List of Velocity context names A2ye
^<-C.
velocity的context列表 BGibBF^
H I|a88
a8T9=KY^
struts.velocity.manager.classname cOP'ql{"
org.apache.struts2.views.velocity.VelocityManager implementation class p+=zl`\=|
org.apache.struts2.views.velocity.VelocityManager接口名 /Kli C\
OoA!N-Q
struts.velocity.toolboxlocation t!rrYBSCr
The location of the Velocity toolbox -rcEG!
velocity工具盒的位置 E6~VHQa2?
struts.xslt.nocache }~@/r5Zl
Whether or not XSLT templates should not be cached Lf%3-P
是否XSLT模版应该被缓存 n^[a}DX0