struts2的struts.properties配置文件详解 l2LO,j}
`|[UF^9
struts.action.extension HN&]`cr;
The URL extension to use to determine if the request is meant for a Struts action ef:Zi_o
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !-B|x0fs
}OgZZ8-_M
struts.configuration ugW.nf*O
The org.apache.struts2.config.Configuration implementation class <ou=f'
org.apache.struts2.config.Configuration接口名 j6rwlwN
{\k:?w4
struts.configuration.files BQ!_i*14+
A list of configuration files automatically loaded by Struts A6Wtzt2i
struts自动加载的一个配置文件列表 4?x$O{D5?{
p1\EC#Q
struts.configuration.xml.reload <2w41QZX
Whether to reload the XML configuration or not UzkX;UA
是否加载xml配置(true,false) l_&T)Ei
?d)eri8,
struts.continuations.package YQ}IE[J}v
The package containing actions that use Rife continuations c/G^}d%
含有actions的完整连续的package名称 0t00X/
.YIb ny1
struts.custom.i18n.resources -s:NF;"
Location of additional localization properties files to load j&,%v+x
加载附加的国际化属性文件(不包含.properties后缀) S'q4va"
04#r'UIF
struts.custom.properties +]#pm9
Location of additional configuration properties files to load e]l.m!,r
加载附加的配置文件的位置 k/%n7 ;1
OFw93UJ Y
s|Zv>Qt
struts.devMode $Mqw)X&q
Whether Struts is in development mode or not ARid
是否为struts开发模式 kc"SUiy/
7t/C:2^&
struts.dispatcher.parametersWorkaround onUF@3V
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZOHGGO]1M
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `S/;S<';
a#P{ [
struts.enable.DynamicMethodInvocation ey[+"6Awne
Allows one to disable dynamic method invocation from the URL d?OsVT;U
允许动态方法调用 {(`xA,El
'.tg\]|
struts.freemarker.manager.classname H?'t>JX
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class VQ`a-DL
org.apache.struts2.views.freemarker.FreemarkerManager接口名 nnnq6Z}
d-$/C| J
struts.i18n.encoding ->U9u lTC
The encoding to use for localization messages :]IYw!_-p
国际化信息内码 _i1x\Z~
N
kT{d pGU9
struts.i18n.reload +C9l7 q
Whether the localization messages should automatically be reloaded G(7WUMjl
是否国际化信息自动加载 9GVv[/NAb
C%kIxa)
struts.locale @EB2I+[
The default locale for the Struts application Z;GZ?NOlY
默认的国际化地区信息 F%q}N,W
| <l=i(
struts.mapper.class R;2
Z~P
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M!b"c4|<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =(>pv,
p3{ 3[fDx
struts.multipart.maxSize Q.L.B7'e7
The maximize size of a multipart request (file upload) z]
teQaUZ
multipart请求信息的最大尺寸(文件上传用) R9lb<`
Z\*jt B:
struts.multipart.parser co%-d
The org.apache.struts2.dispatcher.multipart. 6"Rw&3D?
MultiPartRequest parser implementation for a multipart request (file upload) si3@R?WR6*
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l)(
3]
A<s9c=d6
qCgoB 0
struts.multipart.saveDir SpX6PwM
The directory to use for storing uploaded files '#@tovr
设置存储上传文件的目录夹 qFYM2
ju?D=n@i
struts.objectFactory G^/8lIj
The com.opensymphony.xwork2.ObjectFactory implementation class Mi&jl_&
com.opensymphony.xwork2.ObjectFactory接口(spring) TbA=bkj[4
\ POQeZ
struts.objectFactory.spring.autoWire X=i",5;
Whether Spring should autoWire or not ]Br6!U4~
是否自动绑定Spring g\lEdxm6Sj
vmK`QPu2
struts.objectFactory.spring.useClassCache $[DSe~
Whether Spring should use its class cache or not
Vi_6O;
是否spring应该使用自身的cache *k
^?L
*b+~@o
struts.objectTypeDeterminer eww/tG a
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "Z*u2_ H
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /p_#8}Uh
E*X-f"
struts.serve.static.browserCache U/3<p8
If static content served by the Struts filter should set browser caching header properties or not El#"vIg(\
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3Ja1|;(2
&x<y4ORH|
struts.serve.static &F#K=R| .j
Whether the Struts filter should serve static content or not xC+TO
是否struts过滤器应该提供静态内容 i-*ZW:
%?z8*G]M
struts.tag.altSyntax Ea\Khf]2
Whether to use the alterative syntax for the tags or not p;<brwN
是否可以用替代的语法替代tags YPNG9^Y
IG=# 2 /$
struts.ui.templateDir |#?:KvU97E
The directory containing UI templates #J09Eka;J
UI templates的目录夹 ZQY?wO: [
bL]NSD
struts.ui.theme s'JbG&T[J
The default UI template theme yRv4,{B}X>
默认的UI template主题 G2BB]] m3
Kk9W=vd
struts.url.http.port p?XVO#
The HTTP port used by Struts URLs (N
:vDq'
设置http端口 c}r"O8M
W 2.Ap
struts.url.https.port o-_H+p6a
The HTTPS port used by Struts URLs A$ Ok^
设置https端口 T.?}iz=ZEq
]XhX aoqL
struts.url.includeParams wY6m^g$h3
The default includeParams method to generate Struts URLs G=l-S\0@
在url中产生 默认的includeParams YecV+K'p:
;dVYR=l
FEwPLViso
struts.velocity.configfile ;"Q.c#pA$g
The Velocity configuration file path oK#UEn
velocity配置文件路径 %29lDd(<
B
EB[K2[9
struts.velocity.contexts !)$e+o^W
List of Velocity context names @\s*f7
velocity的context列表 S5>?jn1
7/b\NLeJ'
)LDBvpJyQ
struts.velocity.manager.classname 5Sv;a(}
org.apache.struts2.views.velocity.VelocityManager implementation class urK~]68
org.apache.struts2.views.velocity.VelocityManager接口名 AMf{E
Z(:q.{"r
struts.velocity.toolboxlocation j9^V)\6)
The location of the Velocity toolbox N83c+vs%c
velocity工具盒的位置 hxe X6
struts.xslt.nocache e
.1!
K
Whether or not XSLT templates should not be cached *BFG{P
是否XSLT模版应该被缓存 PEDV9u[A