struts2的struts.properties配置文件详解 na_Y<R`
Em-88=XO
struts.action.extension //Ck1cI#h
The URL extension to use to determine if the request is meant for a Struts action 0[jy
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <Jv %}r
7$k[cL1
struts.configuration ,ie84o
The org.apache.struts2.config.Configuration implementation class 7i,}F|#8
org.apache.struts2.config.Configuration接口名 \2@OS6LUe
IZoa7S&t
struts.configuration.files \5cAOBja
A list of configuration files automatically loaded by Struts nxw]B"Eg
struts自动加载的一个配置文件列表 Z25^+)uf*U
j!xt&t4D
struts.configuration.xml.reload 1 f).J
Whether to reload the XML configuration or not Q&rpW:^v
是否加载xml配置(true,false) `XS6t)!ik
\|R P-8
struts.continuations.package LS*^TA(I[
The package containing actions that use Rife continuations E$T)N U\
含有actions的完整连续的package名称 a=T_I1
aovRm|aOo'
struts.custom.i18n.resources ]G#og)z4
Location of additional localization properties files to load t?iCq1
加载附加的国际化属性文件(不包含.properties后缀) v=$v*W
@;!s"!~sv
struts.custom.properties "JT R5;`w
Location of additional configuration properties files to load g`k_o<'JC
加载附加的配置文件的位置 43^%f-J5
eJIBkFW/3y
HI*xk
struts.devMode |]w0ytL>(2
Whether Struts is in development mode or not FE,&_J"
是否为struts开发模式 $_%yr
~2
MS)(\&N
struts.dispatcher.parametersWorkaround *2Il{KOA^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |MY6vRJ(
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .n'z\]-/Q
615, P/
struts.enable.DynamicMethodInvocation bzz=8n
Allows one to disable dynamic method invocation from the URL IDyf9Zra?
允许动态方法调用 !7]4sXL{
80U07tJ
struts.freemarker.manager.classname LzEs_B=9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class P33x/#VVE
org.apache.struts2.views.freemarker.FreemarkerManager接口名 u(S~V+<@Z
v `9IS+Z
struts.i18n.encoding Zu951+&`
The encoding to use for localization messages "JzQCY^C
国际化信息内码 ?kMG!stgp}
,dOd3y'y
struts.i18n.reload wM8Gz.9,
Whether the localization messages should automatically be reloaded Pfj{TT.#L
是否国际化信息自动加载 ~&8ag`
pn<M`,F~q
struts.locale x >hnH{~w
The default locale for the Struts application ep* (
默认的国际化地区信息 %}t.+z(S
dcew`$SJp
struts.mapper.class h(*!s`1
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class { AdPC?R`
org.apache.struts2.dispatcher.mapper.ActionMapper接口 gpB3\
GdVq+,Ge
struts.multipart.maxSize ]-FK6jw
The maximize size of a multipart request (file upload) uU=O 0?'zq
multipart请求信息的最大尺寸(文件上传用) a*@ 6G
Y;JV9{j
struts.multipart.parser <iDqt5)N
The org.apache.struts2.dispatcher.multipart. R]L|&{
MultiPartRequest parser implementation for a multipart request (file upload) ;& ny< gQ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M[Lj N
z'GYU=
^kA^>vi
struts.multipart.saveDir g&I/ b/A
The directory to use for storing uploaded files ppH5>Y
6c
设置存储上传文件的目录夹 ?~s,O$o
\x\_I1|
struts.objectFactory
*(5y;1KU
The com.opensymphony.xwork2.ObjectFactory implementation class !B_i~Rmg
com.opensymphony.xwork2.ObjectFactory接口(spring) ,R_ KLd
xFvDKW)_X7
struts.objectFactory.spring.autoWire 7m3|2Qv
Whether Spring should autoWire or not T>,3V:X
是否自动绑定Spring s_xWvx8?4.
UT!gAU
struts.objectFactory.spring.useClassCache 8:E)GhX
Whether Spring should use its class cache or not .cJWYMC
是否spring应该使用自身的cache 9un* 1%
T5(]/v,UT
struts.objectTypeDeterminer *Y(v!x \L
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class uH 1%diL^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f Glvx~
Gu?OyL
struts.serve.static.browserCache 1ga.%M*
If static content served by the Struts filter should set browser caching header properties or not t '
_Au8
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p w(eWP
n<\
WVi
struts.serve.static xLhN3#^m
Whether the Struts filter should serve static content or not 4Rj;lAlwB
是否struts过滤器应该提供静态内容 ,5`pe%W7
KKpO<TO
struts.tag.altSyntax @=4K%SCw
Whether to use the alterative syntax for the tags or not Rrh?0qWs
是否可以用替代的语法替代tags \l)<NZ\
=8FV&|fP
struts.ui.templateDir "|<6bA
The directory containing UI templates X-,scm
UI templates的目录夹 KZ_d..l*W
,Yx"3i,
struts.ui.theme VQA}! p
The default UI template theme |L|)r)t
默认的UI template主题 CGmObN8~'F
]gI>ay"\QA
struts.url.http.port 49.
@Uzo
The HTTP port used by Struts URLs c4Q{
设置http端口 <5rs~
3>LyEXOW
struts.url.https.port U^+xCX<
The HTTPS port used by Struts URLs "f/91gIzm'
设置https端口 }NX9"}/
n/*BK;
struts.url.includeParams /Xa_Xg7
The default includeParams method to generate Struts URLs ^Qrezl&
在url中产生 默认的includeParams *j9{+yO{ZE
FgA'X<
=D88jkQe"
struts.velocity.configfile /HCd52
The Velocity configuration file path []B9Me
velocity配置文件路径 1HOYp*{#wP
R1$O )A}k
struts.velocity.contexts zzmZ`Ya
List of Velocity context names VK)1/b=yT
velocity的context列表 sbnNk(XINQ
l-|hvv5g
M->/vi
struts.velocity.manager.classname ={_.}
org.apache.struts2.views.velocity.VelocityManager implementation class ND);7
org.apache.struts2.views.velocity.VelocityManager接口名 Np$peT[
':al4m"
struts.velocity.toolboxlocation &.XYI3Ab1
The location of the Velocity toolbox zdY+?s)p
velocity工具盒的位置 =fA*b
struts.xslt.nocache MLD-uI10{
Whether or not XSLT templates should not be cached !&4<"wQ
是否XSLT模版应该被缓存 "XQj~L