struts2的struts.properties配置文件详解 ) ]%9Tgn
ommKf[h%i
struts.action.extension *QG3 Jz
The URL extension to use to determine if the request is meant for a Struts action YMi(Cyja&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }]~}DHYr
NqZRS>60v
struts.configuration $&C(oh$:
The org.apache.struts2.config.Configuration implementation class q%k+x)
org.apache.struts2.config.Configuration接口名 )a^Yor)o"
uTU4Fn\$L
struts.configuration.files @*DIB+K
A list of configuration files automatically loaded by Struts h3kHI?jMWG
struts自动加载的一个配置文件列表 (v`;ym
#8z,'~\
struts.configuration.xml.reload .?p}:
Whether to reload the XML configuration or not 2&Byq
是否加载xml配置(true,false) R2$ U K
,OKM\N,
struts.continuations.package yo*iv+l
The package containing actions that use Rife continuations /,Rca1W
含有actions的完整连续的package名称 }K>HS\e
~t:b<'/
struts.custom.i18n.resources Qsntf.fT
Location of additional localization properties files to load P*PL6UQ
加载附加的国际化属性文件(不包含.properties后缀) 99 !{[gOv
3] qlz?5
struts.custom.properties O&,O:b:@
Location of additional configuration properties files to load B\_u${C
加载附加的配置文件的位置 ~& 5&s
7rSUSra
(oXN >^-D
struts.devMode VWshFI
Whether Struts is in development mode or not ;1.>"zX(
是否为struts开发模式 mbBRuPEa=u
R1.sq(z`
struts.dispatcher.parametersWorkaround @ >(u:.
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5b#6 Y
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *|HZ&}
j/9QV
struts.enable.DynamicMethodInvocation KupMndK
Allows one to disable dynamic method invocation from the URL p{a]pG+3
允许动态方法调用 Ys$YI{
v1C.\fL
struts.freemarker.manager.classname nr>{ uTa
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @LKG\zYBu
org.apache.struts2.views.freemarker.FreemarkerManager接口名 _g 4/%
<8)s
struts.i18n.encoding F36ViN\b
The encoding to use for localization messages yb{Q, Dz
国际化信息内码 I/Jp,~JT*
[S]!+YBK
struts.i18n.reload d=Do@)
m|
Whether the localization messages should automatically be reloaded cIr1"5POXK
是否国际化信息自动加载 c,q"}nE8w
0sd-s~;
struts.locale
F4rKFMr
The default locale for the Struts application sdf%
默认的国际化地区信息 p%"yBpSK
^v!im\ r
struts.mapper.class DvX3/z#T
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Iv(Qa6(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 )E:,V~< 8
Iz)hz9k
struts.multipart.maxSize P/pjy
The maximize size of a multipart request (file upload) QP%kL*=8
multipart请求信息的最大尺寸(文件上传用) 6!B^xm.R @
"Py Wo
struts.multipart.parser @%<?GNS O
The org.apache.struts2.dispatcher.multipart. yvz?4m"_yB
MultiPartRequest parser implementation for a multipart request (file upload) u5Ny=Xm
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5w3 ZUmjO
`<J#l;y
v
(ka,Dk3
struts.multipart.saveDir irsfJUr[V
The directory to use for storing uploaded files 3%R{"Q"
设置存储上传文件的目录夹 +%wWSZ<#
lKEX"KQ!
struts.objectFactory Wu!t C
The com.opensymphony.xwork2.ObjectFactory implementation class s^>lOQ=
com.opensymphony.xwork2.ObjectFactory接口(spring) N\q)LM !M
L"foL
struts.objectFactory.spring.autoWire ole|J
Whether Spring should autoWire or not <'[Ku;m
是否自动绑定Spring S9p?*
h `ME(U~<<
struts.objectFactory.spring.useClassCache BMNr<P2li
Whether Spring should use its class cache or not 9&%#nN4`8
是否spring应该使用自身的cache n}A?jOSAe
xHB/]Vd-
struts.objectTypeDeterminer GVG!sMmnX
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8PBU~mr
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r!$'!lCR
nG"n-$A?<
struts.serve.static.browserCache !&`}]qQZ
If static content served by the Struts filter should set browser caching header properties or not f<89$/w
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^Cg^`n?@b
f]8!DXEA
struts.serve.static ejklpa ./
Whether the Struts filter should serve static content or not $(gGoL<
是否struts过滤器应该提供静态内容 uuSR%KK]|
1OJ*wI*
struts.tag.altSyntax |mxNUo-
Whether to use the alterative syntax for the tags or not 3Q"F(uE v^
是否可以用替代的语法替代tags .G}k/`a
RzS|dGNQE
struts.ui.templateDir bar0{!Y"
The directory containing UI templates 5g``30:o
UI templates的目录夹 7qg<[
[5Fd P0
struts.ui.theme i3Hz"Qs;
The default UI template theme Sty!atEWT
默认的UI template主题 jJ
aV
*bA+]&dj\
struts.url.http.port u#+RUtM
The HTTP port used by Struts URLs gg-};0P-
设置http端口 ?MC(}dF0
h2wN<