struts2的struts.properties配置文件详解 -G;4['p
]J;^< 4l
struts.action.extension Y$Js5K@F
The URL extension to use to determine if the request is meant for a Struts action #g{ZfO[#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 KTBsH; 6
[ #A!B#`
struts.configuration A<9ZX=DAjw
The org.apache.struts2.config.Configuration implementation class YANg2L>MK
org.apache.struts2.config.Configuration接口名 x
nWapG
M)I&^mm39
struts.configuration.files \KLWOj%
A list of configuration files automatically loaded by Struts kd|@.
struts自动加载的一个配置文件列表 xlgN}M
\ zhT1#O
struts.configuration.xml.reload H]UM2.
Whether to reload the XML configuration or not x~j%
是否加载xml配置(true,false) lx U}HM
}v0oFY$u`H
struts.continuations.package k-Jj k3
The package containing actions that use Rife continuations <|hvH
含有actions的完整连续的package名称 6;I&{9
K}`.?6O
struts.custom.i18n.resources kIrME:
Location of additional localization properties files to load ut& RKr3
加载附加的国际化属性文件(不包含.properties后缀) +S^Uw'L$=T
zg)Z2?K|;u
struts.custom.properties t \DS}3pv
Location of additional configuration properties files to load V2i*PK
X
加载附加的配置文件的位置 U,[vfSDGr
rbO9NRg>
yew9bn0a=
struts.devMode B\KvKT|\
Whether Struts is in development mode or not 3UslVj1u
是否为struts开发模式 1f~unb\Gg
6}n_r}kNR
struts.dispatcher.parametersWorkaround i)+@'!6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D7[ 8*^
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wcsUb9(
'Xxt[Jy
struts.enable.DynamicMethodInvocation Ls5|4%+&
Allows one to disable dynamic method invocation from the URL 3PpycJ}
允许动态方法调用 -zN*2T
L:XnW1(Or
struts.freemarker.manager.classname oSx]wZZ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $khWu>b
org.apache.struts2.views.freemarker.FreemarkerManager接口名 oq^#mJL
s$&:F4=?
struts.i18n.encoding P3on4c
The encoding to use for localization messages 'r(}7>~fC
国际化信息内码 SEIGs_^'\
Q;)[~p
struts.i18n.reload jGb+bN5U7
Whether the localization messages should automatically be reloaded qI^6}PB
是否国际化信息自动加载 3"6lPUS
5``/exG>
struts.locale ,Tvk&<!0
The default locale for the Struts application lyF~E
默认的国际化地区信息 DN;g2R`f
vbmi_[,U
struts.mapper.class <^
@1wg
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class la</IpC
org.apache.struts2.dispatcher.mapper.ActionMapper接口 D;.-e
n0>#?ek12
struts.multipart.maxSize 9y>dDNM\<
The maximize size of a multipart request (file upload) )f*&}SV
multipart请求信息的最大尺寸(文件上传用) uPr@xff
+a"MSPC4w
struts.multipart.parser {"Van,w
The org.apache.struts2.dispatcher.multipart. QyJ}zwD
MultiPartRequest parser implementation for a multipart request (file upload) ",w@_}z:
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ['tGc{4
7xMvf<1P
BC Jo/m
struts.multipart.saveDir fp.,MIS
The directory to use for storing uploaded files kHo0I8
设置存储上传文件的目录夹 )_,*2|b
Nm\0>}
struts.objectFactory \WQ\q
\
The com.opensymphony.xwork2.ObjectFactory implementation class J)x-Yhe
com.opensymphony.xwork2.ObjectFactory接口(spring) 5T:e4U&
HIk5Q'e k
struts.objectFactory.spring.autoWire ymrmvuh
Whether Spring should autoWire or not Rd&2mL
是否自动绑定Spring ZMt9'w;
2h IM!wQ
struts.objectFactory.spring.useClassCache Uk`ym
Whether Spring should use its class cache or not ;8'hvc3i$
是否spring应该使用自身的cache B~D{p t3y
A Ns.`S
struts.objectTypeDeterminer 4fT,/[k?
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J LT10c3
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I
^?TabL
Z[)t34EY"
struts.serve.static.browserCache Rf^$?D&^
If static content served by the Struts filter should set browser caching header properties or not |j^^*z@
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~-.}]N+([
t:eZ`6o$T\
struts.serve.static o:.={)rX
Whether the Struts filter should serve static content or not 5@%$M$E
是否struts过滤器应该提供静态内容 P%8
Gaa=
sG=D(n1
struts.tag.altSyntax AA6_D?)vv
Whether to use the alterative syntax for the tags or not Y}&//S A
是否可以用替代的语法替代tags qg7.E+
ZNuz%VO
struts.ui.templateDir -+Axa[,5=
The directory containing UI templates 9y{[@KG
UI templates的目录夹 ?T3zA2
^ r-F@$:.
struts.ui.theme 8`v+yHjG
The default UI template theme !trt]?*-
默认的UI template主题 TD'Rv Tpl
*T-+Pm-Cq
struts.url.http.port j1Fy'os"!
The HTTP port used by Struts URLs @%d g0F}h
设置http端口 'Ybd'|t{}
t3|If@T
struts.url.https.port k@L},Td
The HTTPS port used by Struts URLs /BjM&v(5/
设置https端口 NoTEbFrV
wN>k&J
struts.url.includeParams k|k
The default includeParams method to generate Struts URLs [CL.Xil=
在url中产生 默认的includeParams
EiQX*v
9utiev~3
![h+R@_(
struts.velocity.configfile pM],-7UM
The Velocity configuration file path 'r~,~AI
velocity配置文件路径 IFcxyp
jfP2n5X83
struts.velocity.contexts \3JZ=/
List of Velocity context names m\o<a|
velocity的context列表 %X7R_>.
Y~gDS^8
d[E~}Dq3#
struts.velocity.manager.classname }Qyuy~-&^
org.apache.struts2.views.velocity.VelocityManager implementation class @}eEV[Lli
org.apache.struts2.views.velocity.VelocityManager接口名 +;^UxW
xP#vAR
struts.velocity.toolboxlocation m5m}RWZ#
The location of the Velocity toolbox B>Tfyo
velocity工具盒的位置 :)o 4fOJ8
struts.xslt.nocache O=~8+sa
Whether or not XSLT templates should not be cached ZKy)F-yX
是否XSLT模版应该被缓存 s~
||Vv!