struts2的struts.properties配置文件详解 <{eJbN p
N_0B[!B]
struts.action.extension 8)f/H&)>8
The URL extension to use to determine if the request is meant for a Struts action R&/"?&pfa
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =|
r%
lx
q{q;X{
struts.configuration h)r=+Q\'(S
The org.apache.struts2.config.Configuration implementation class QT"o"B
org.apache.struts2.config.Configuration接口名 .36]>8
Ob|tA
struts.configuration.files Q'^$;X~-<
A list of configuration files automatically loaded by Struts $D*Yhv!/
struts自动加载的一个配置文件列表 [XA:pj;rg'
-BrJ5]T>*
struts.configuration.xml.reload N;cSR\Ng
Whether to reload the XML configuration or not 9J}^{AA
是否加载xml配置(true,false) 2.a{,d
soB_j
struts.continuations.package a{}8030S
The package containing actions that use Rife continuations BL\H@D
含有actions的完整连续的package名称 QA~Lm
wI[J> 9Qn
struts.custom.i18n.resources .
Location of additional localization properties files to load Oj7).U0;#
加载附加的国际化属性文件(不包含.properties后缀) #\LYo{op/.
KM
oDcAjH
struts.custom.properties H ;HFen|
Location of additional configuration properties files to load zK: 2.4
加载附加的配置文件的位置 hi ),PfAV
]vCs9* |B
2<_|1%C
struts.devMode X&%;(`
Whether Struts is in development mode or not m]VOw)mBF
是否为struts开发模式 3e;ux6
$h1pL>^J
struts.dispatcher.parametersWorkaround V67<Ky>
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pvM`j86 _
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xZMAX}8 v
)EsFy6K:
struts.enable.DynamicMethodInvocation _E^ !,Wz
Allows one to disable dynamic method invocation from the URL *Y ?&N2@c
允许动态方法调用 x{VUl
xHn "D@
struts.freemarker.manager.classname g`H;~ w
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class uX&Tn1Kg
org.apache.struts2.views.freemarker.FreemarkerManager接口名 l]5!$N*
((fFe8Rn)q
struts.i18n.encoding vPu{xy
The encoding to use for localization messages M9(Kxux#
国际化信息内码 _&$nJu
+Jq~39
struts.i18n.reload #4^D'r>pJ
Whether the localization messages should automatically be reloaded >% E=l
是否国际化信息自动加载 *iVv(xXgN
1KI5tf>>p
struts.locale @p9YHLxLjQ
The default locale for the Struts application pxQh;w
默认的国际化地区信息 >6z7.d
]Mgxv>zRbs
struts.mapper.class 1F[W~@jW
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d((,R@N'
org.apache.struts2.dispatcher.mapper.ActionMapper接口 %Q5
|RLD
ue!wo-|#G
struts.multipart.maxSize Q~)A
fa{
The maximize size of a multipart request (file upload) )m10IyUAY
multipart请求信息的最大尺寸(文件上传用) 9P-I)ZqL
kO8oH8Vt
struts.multipart.parser %uy?@ e
The org.apache.struts2.dispatcher.multipart. fSm|anuKZe
MultiPartRequest parser implementation for a multipart request (file upload) X0]5I0YP
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) '# J/e0o@
yxy~N\0
g;</ |Z
struts.multipart.saveDir pIvr*UzY
The directory to use for storing uploaded files I oC}0C7
设置存储上传文件的目录夹 _I#a`G
iaQ3mk#
struts.objectFactory 2NWQiSz
The com.opensymphony.xwork2.ObjectFactory implementation class R-BN}ZS
com.opensymphony.xwork2.ObjectFactory接口(spring) m)xz_Plc
!MD uj
struts.objectFactory.spring.autoWire l|
QQ
Whether Spring should autoWire or not 20BU;D3
是否自动绑定Spring zWq&HBs
BGL-lJrG
struts.objectFactory.spring.useClassCache \7tJ)[0aF
Whether Spring should use its class cache or not Jgzg[6
是否spring应该使用自身的cache h1Q rFPQnu
7j{63d`2
struts.objectTypeDeterminer gib;> nuBK
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class d)v'K5
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :.F;LF&
XbW 1`PH
struts.serve.static.browserCache -F';1D!l%
If static content served by the Struts filter should set browser caching header properties or not {'q(a4
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 JA6#qlylL
.Gnzu"lod
struts.serve.static )ZDqj
Whether the Struts filter should serve static content or not ~&Y%yN^
是否struts过滤器应该提供静态内容 JcI~8;Z@Z~
43o!Vr/S
struts.tag.altSyntax 6vebGf
Whether to use the alterative syntax for the tags or not z%[^-l-
是否可以用替代的语法替代tags 9{n?Jy
A&qZ:&(OM
struts.ui.templateDir ?8@EBPpC
The directory containing UI templates kk7M$)>d
UI templates的目录夹 IM&l%6[).
4j-%I7
struts.ui.theme s7na!A[
The default UI template theme oD7^9=#
默认的UI template主题 _[ufH*
>$N ?\\#
struts.url.http.port sGFC?1r?\
The HTTP port used by Struts URLs OA8iTn
设置http端口 aX(Y
`g)|
OW1\@CC-69
struts.url.https.port Om C
F8:\/
The HTTPS port used by Struts URLs rsC^Re:*jr
设置https端口 f-a+&DB9
{t QZqqdn@
struts.url.includeParams 5jK9cF$>
The default includeParams method to generate Struts URLs g,""j`
在url中产生 默认的includeParams =&v&qne9
}#QYZ nR
CC{{@
struts.velocity.configfile [[VB'Rs
The Velocity configuration file path 6Bn%7ZBv
velocity配置文件路径 ">"B
qgZN&7Nn:
struts.velocity.contexts ~ZZJ/Cu
List of Velocity context names b0lZb'
velocity的context列表 2W vf[2Xw
8YwSaBwO
p& +w
struts.velocity.manager.classname Tn(c%ytN
org.apache.struts2.views.velocity.VelocityManager implementation class " 2J2za
org.apache.struts2.views.velocity.VelocityManager接口名 zT"W(3
"gGv>]3
struts.velocity.toolboxlocation eUm,=s
The location of the Velocity toolbox /&g~*AL
velocity工具盒的位置 ]R8JBnA
struts.xslt.nocache rQ287y{
Whether or not XSLT templates should not be cached cXG$zwS\
是否XSLT模版应该被缓存 jp P'{mc