struts2的struts.properties配置文件详解 @<DRFP
EG4~[5[YgI
struts.action.extension .i\FK@2
The URL extension to use to determine if the request is meant for a Struts action ]Mq-67
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )
`{jPK*`
/yU#UZ4;
struts.configuration pg5W`4-F
The org.apache.struts2.config.Configuration implementation class {]Mwuqn
org.apache.struts2.config.Configuration接口名 uP4yJ/]
a@g
<cl7a,
struts.configuration.files 7
\xCNOKh
A list of configuration files automatically loaded by Struts q?frt3o
struts自动加载的一个配置文件列表 6O?zi|J[:
cvw17j
struts.configuration.xml.reload 4UbqYl3|a
Whether to reload the XML configuration or not aVr(*s;/
是否加载xml配置(true,false) '(iPI
%nJo:/
struts.continuations.package dr#%~I
The package containing actions that use Rife continuations *~U*:>hS
含有actions的完整连续的package名称 y ;mk]
5[g&0
struts.custom.i18n.resources }#g]qK
Location of additional localization properties files to load /y1+aTiJ
加载附加的国际化属性文件(不包含.properties后缀) <uU<qO;6
@nqM#
struts.custom.properties
[<r.M<3
Location of additional configuration properties files to load b4:{PD~Mh
加载附加的配置文件的位置 1.%|Er 4
]U@~vA#''
q1HJ_y
struts.devMode KrP?*yk
Whether Struts is in development mode or not 'Rnzu0<lF
是否为struts开发模式 #^9bBF/
o5/BE`VD5c
struts.dispatcher.parametersWorkaround aF/DFaiYv
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic m|JA}&A
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3'p1m`8
3LyNi$`f
struts.enable.DynamicMethodInvocation wMgF*
Allows one to disable dynamic method invocation from the URL h@JX?LzZS
允许动态方法调用 N_Ezp68Fp
DhxS@/
struts.freemarker.manager.classname `JV(ae0
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U=%(kOx
org.apache.struts2.views.freemarker.FreemarkerManager接口名 :~vg'v~C
{KDN|o+%
struts.i18n.encoding Sg%s\p]N_#
The encoding to use for localization messages ~jJ.E_i
国际化信息内码 iWWtL
6RIbsy
struts.i18n.reload L~/L<M s
Whether the localization messages should automatically be reloaded `]]5!U2
是否国际化信息自动加载 =84EX<B
#Fo#f<bp
struts.locale 0NSw^dO\
The default locale for the Struts application ?@in($67
默认的国际化地区信息 Z@Q/P(t
He8]Eb
struts.mapper.class d<Lc&wlP
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f5M;q;
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,ye[TQ\,M
VJ
h]j(
struts.multipart.maxSize s;Bh69
The maximize size of a multipart request (file upload) ]' n4e*
multipart请求信息的最大尺寸(文件上传用) W4.w
4cy,'B
struts.multipart.parser byP< !p*
The org.apache.struts2.dispatcher.multipart. yQ^, >eh
MultiPartRequest parser implementation for a multipart request (file upload) |3FGMg%
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5'DY)s-K
Kt qOA[6
;t9!<L
struts.multipart.saveDir UM0Ws|qx&
The directory to use for storing uploaded files D9;pjY
设置存储上传文件的目录夹 vC1fKo\p
L9^M?.a
struts.objectFactory * BrGh
The com.opensymphony.xwork2.ObjectFactory implementation class izcjI.3e,
com.opensymphony.xwork2.ObjectFactory接口(spring) GwXhn2
"]2^O
struts.objectFactory.spring.autoWire MrUjqv6a[
Whether Spring should autoWire or not =!DX,S7
是否自动绑定Spring Q)XH5C2X
k:V9_EI=
struts.objectFactory.spring.useClassCache hl0X,G+@
Whether Spring should use its class cache or not mw^>dv?
是否spring应该使用自身的cache uDJ;GD[yc
5|jY
struts.objectTypeDeterminer %H{;wVjK
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class trjpq{,[U
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 e*`ht+
D=%1?8K
struts.serve.static.browserCache -B/'ArOo]
If static content served by the Struts filter should set browser caching header properties or not S W6oaa81
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 K 0o F=|
xR$T/] /
struts.serve.static _U LzA
Whether the Struts filter should serve static content or not [f {qb\
是否struts过滤器应该提供静态内容 9D`K#3}
9iJ$M!
struts.tag.altSyntax UpD4'!<buV
Whether to use the alterative syntax for the tags or not 7*M-?
是否可以用替代的语法替代tags CvZ\Z472.j
h|PC?@jp
struts.ui.templateDir 7vRp<
The directory containing UI templates :_xfi9L~W0
UI templates的目录夹 6`6 / 2C$%
Vh;|qF 9
struts.ui.theme f34/whD65
The default UI template theme KX;JX*)J
默认的UI template主题 |ssl0/nk
2?6]Xbs{
struts.url.http.port - >?tB1}^
The HTTP port used by Struts URLs du~V=%9
设置http端口 /TPtPq<7:#
32HF&P+0%
struts.url.https.port Nr]Fh
The HTTPS port used by Struts URLs `9^+KK "
设置https端口 %,~\,+NP
7T6Zlp
struts.url.includeParams }wp/,\_
>
The default includeParams method to generate Struts URLs mj9sX^$dE
在url中产生 默认的includeParams -G/qfd|s/
ZCZ@ZN
/
yBrlf
struts.velocity.configfile :2M&C+f[
The Velocity configuration file path %GY'pQz
velocity配置文件路径 (p12=EB<
Wq+GlB*
struts.velocity.contexts /i27F2NQm
List of Velocity context names XKws_
velocity的context列表 6@8t>"}
&wY$G! P
>w7KOVbN3
struts.velocity.manager.classname iKd+AzT
org.apache.struts2.views.velocity.VelocityManager implementation class 1|"BpX~D
org.apache.struts2.views.velocity.VelocityManager接口名 &V~l(1
6YNL4HE?
struts.velocity.toolboxlocation MIr+4L
The location of the Velocity toolbox jZkc
yx
velocity工具盒的位置 WG6
0
struts.xslt.nocache 4P1}XYD-2
Whether or not XSLT templates should not be cached m }HaJ
是否XSLT模版应该被缓存 &*7KQd