struts2的struts.properties配置文件详解 DNqV]N_W
&~/g[\Y
struts.action.extension \}u/0UF97
The URL extension to use to determine if the request is meant for a Struts action UF6U5],`u
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X[H .t$w5A
qC"`i}7
struts.configuration rr\9HA
The org.apache.struts2.config.Configuration implementation class 5pDE!6gQ
org.apache.struts2.config.Configuration接口名 6SE^+@jR
9xq3>(
struts.configuration.files F%&lM[N%
A list of configuration files automatically loaded by Struts ":qHDL3
struts自动加载的一个配置文件列表 B[EOz\?=m
&{glwVKV
struts.configuration.xml.reload }` H{;A
h
Whether to reload the XML configuration or not ~"vS$>+
是否加载xml配置(true,false) IAMa
cZF|oZ6<
struts.continuations.package KU{zzn;g
The package containing actions that use Rife continuations 0-{E% k
含有actions的完整连续的package名称 WbhYGcRy
zA+0jhuG
struts.custom.i18n.resources 4gev^/^^
Location of additional localization properties files to load R[m{"2|,Lc
加载附加的国际化属性文件(不包含.properties后缀) xr@;w8X`^
/F"eqMN
struts.custom.properties v@SHR0
Location of additional configuration properties files to load \?Z7|
加载附加的配置文件的位置 I ~YV&12
d*04[5`
[\<#iRcP
struts.devMode A0;{$/
Whether Struts is in development mode or not yV L >Ie/
是否为struts开发模式 =^*EM<WG)
IQ~Anp^R
struts.dispatcher.parametersWorkaround =u0a/2u|
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic B>d49(jy
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^b$G.h{o!E
uX{g4#eG
struts.enable.DynamicMethodInvocation S{]3e-?
Allows one to disable dynamic method invocation from the URL #wvGS%
允许动态方法调用 ^e =xEZD
m432,8 K3r
struts.freemarker.manager.classname ;H71A[M
T
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class QFhyidm=]
org.apache.struts2.views.freemarker.FreemarkerManager接口名 v1}ijls
.),9a,
struts.i18n.encoding 8(q8}s$>
The encoding to use for localization messages SbMRrWy
国际化信息内码 VB8eGMo
XknNb{. r
struts.i18n.reload S}0-2T[
Whether the localization messages should automatically be reloaded e,#5I(E
是否国际化信息自动加载 \ E5kpm
>
9z-/e
struts.locale lq`7$7-4
The default locale for the Struts application &,l7w K
默认的国际化地区信息 .S=|ZP+
j 7O!uUQQ
struts.mapper.class G$Fo*;Fl
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^n4aoj
org.apache.struts2.dispatcher.mapper.ActionMapper接口 - \ew,y
) 54cG
struts.multipart.maxSize KlBT9"6"
The maximize size of a multipart request (file upload) aGE}
EK }
multipart请求信息的最大尺寸(文件上传用) $}YN`:{
/9P7;1?
struts.multipart.parser v6x jLP;O
The org.apache.struts2.dispatcher.multipart. Dp^=% F{t
MultiPartRequest parser implementation for a multipart request (file upload) ~W B-WI\
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) D`B*+
V!+<
o(3OChH
struts.multipart.saveDir Q4N0j' QA
The directory to use for storing uploaded files 4m~p(r
设置存储上传文件的目录夹 += gU`<\
y=SpIbn{
struts.objectFactory Tn>L?
The com.opensymphony.xwork2.ObjectFactory implementation class r>"l:GZ
com.opensymphony.xwork2.ObjectFactory接口(spring)
^fS_h`B
d1*0?G TT
struts.objectFactory.spring.autoWire =1O;,8`
Whether Spring should autoWire or not >7W8_6sC<
是否自动绑定Spring YsTF10
p8&rl|z|
struts.objectFactory.spring.useClassCache Wp^|=
Whether Spring should use its class cache or not y,<\d/YY@
是否spring应该使用自身的cache ah!RQ2hDrV
i(q a'*
struts.objectTypeDeterminer r6 pz(rCs}
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #_Lgo
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A_J!VXq
/zir$
struts.serve.static.browserCache +]C|y ,r
If static content served by the Struts filter should set browser caching header properties or not :%zA X
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _]+
\ B
:+fW#:
struts.serve.static ]XfROhgP=
Whether the Struts filter should serve static content or not >+ Im:fD
是否struts过滤器应该提供静态内容 5 ^tetDz}
h~&5;
struts.tag.altSyntax ;|Rrtf9
Whether to use the alterative syntax for the tags or not {8~xFYc:
是否可以用替代的语法替代tags @iYr<>iDZ
Reg%ah|$/=
struts.ui.templateDir wF['oUwHH
The directory containing UI templates 3 k)P*ME#
UI templates的目录夹 ^JB5-EtL(
1tCe#*|95
struts.ui.theme Gii1|pLZ1
The default UI template theme `g(r.`t^
默认的UI template主题 F8*P/<P1cK
P # Z+:T
struts.url.http.port .W0;Vhw"
The HTTP port used by Struts URLs ?
y^t
设置http端口 I h 19&D
hKQg:30<
struts.url.https.port (#r>v
h (
The HTTPS port used by Struts URLs 9,AHC2kn%
设置https端口 "3uPK$
e5m-7{h@
struts.url.includeParams PZCOJK
The default includeParams method to generate Struts URLs /q6
^.>b
在url中产生 默认的includeParams 9$N~OZ;-*x
E&2mFg
1n+JHXR\
struts.velocity.configfile 2c8e:Xgv
The Velocity configuration file path {
daEKac5
velocity配置文件路径 4-\gha
U P e@>
struts.velocity.contexts H=>;Mj
List of Velocity context names 9uA2M!~i2
velocity的context列表 ~HyqHxy
/m+\oZ
]d
P{h$> 6c
struts.velocity.manager.classname o jy[<
org.apache.struts2.views.velocity.VelocityManager implementation class _6&TCd<
org.apache.struts2.views.velocity.VelocityManager接口名 #~@Cl9[)D
Z3Y(g
struts.velocity.toolboxlocation b:>t1S Ul
The location of the Velocity toolbox $56Z/*
velocity工具盒的位置 VT`C<'
struts.xslt.nocache #MI4 `FZ
Whether or not XSLT templates should not be cached bG[)r
是否XSLT模版应该被缓存 *[O)VkL\%i