struts2的struts.properties配置文件详解 u}du@Aq
u@Hz7Q}
P
struts.action.extension h*Fv~j'p
The URL extension to use to determine if the request is meant for a Struts action ?lC>E[
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <$s6?6P
5]&sXs
struts.configuration }O\IF}X
The org.apache.struts2.config.Configuration implementation class i:s=
org.apache.struts2.config.Configuration接口名 _r:Fmn_%-
ad}8~6}_&
struts.configuration.files A4zI1QF
A list of configuration files automatically loaded by Struts (OiV IH
struts自动加载的一个配置文件列表 CnZ!b_J
cN@_5
struts.configuration.xml.reload [/a
AH<9b
Whether to reload the XML configuration or not TtkHMPlm_
是否加载xml配置(true,false) kL DpZ{
d88A.Z3w
struts.continuations.package 9~hW8{#
The package containing actions that use Rife continuations 8&JB_%Gb
含有actions的完整连续的package名称 y i$+rPF1
|enLv12Gm
struts.custom.i18n.resources x,C8):\t`B
Location of additional localization properties files to load LK} g<!o(
加载附加的国际化属性文件(不包含.properties后缀) 6Z|h>H5a
f2e;N[D
struts.custom.properties D$>!vD'
Location of additional configuration properties files to load t=B1yvE"
加载附加的配置文件的位置 I8XP`Ccq
^6 wWv&G[8
lie,A
struts.devMode ,zgz7
Whether Struts is in development mode or not ,sitO y}ks
是否为struts开发模式 +zh\W9
UVux[qX<
struts.dispatcher.parametersWorkaround 4EM+ Ye
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic xt}.0dC!/%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Gwk$<6E
,8r?C !m]
struts.enable.DynamicMethodInvocation Jg$<2CR&
Allows one to disable dynamic method invocation from the URL DQGrXMpV0
允许动态方法调用 FO*Gc
Z
}||u{[
struts.freemarker.manager.classname e|oMbTZ5m
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {D[6=\F
org.apache.struts2.views.freemarker.FreemarkerManager接口名 k9%o{Uzy
>ZJ]yhbhK
struts.i18n.encoding 8&U
Mmbgy
The encoding to use for localization messages 0si1:+t-[+
国际化信息内码 Mp/l*"(
X,G<D}
struts.i18n.reload NK qIx
Whether the localization messages should automatically be reloaded [W3X$r~-
是否国际化信息自动加载 vv.E6D^x(
=mXC,<]
struts.locale $wAR cS
The default locale for the Struts application Ba[,9l[
默认的国际化地区信息 W yM1s+@
- VJx)g
struts.mapper.class loIb}8
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a <C?- g|
org.apache.struts2.dispatcher.mapper.ActionMapper接口 JOuyEPy
opH!sa@U
struts.multipart.maxSize *;@wPT
The maximize size of a multipart request (file upload) 3RaW\cWzg
multipart请求信息的最大尺寸(文件上传用) _^W;J/He
;qaPK2a8
struts.multipart.parser :(]fC~G~
The org.apache.struts2.dispatcher.multipart. pq`uB
MultiPartRequest parser implementation for a multipart request (file upload) ,NQ!d4~D
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) igo9~.
t,r]22I,`
2PAu>}W*
struts.multipart.saveDir >Lo\?X~
The directory to use for storing uploaded files >e {1e
设置存储上传文件的目录夹 q;,lv3I
bkd`7(r
struts.objectFactory u@dvFzc
The com.opensymphony.xwork2.ObjectFactory implementation class <<!fA><W
com.opensymphony.xwork2.ObjectFactory接口(spring) 'S3<' X
0g[ %)C
struts.objectFactory.spring.autoWire YVccO~!8
Whether Spring should autoWire or not !~|-CF0z=
是否自动绑定Spring S L
5k^|
G:1d6[Q5{
struts.objectFactory.spring.useClassCache ":
vGs_$
Whether Spring should use its class cache or not y@!M<#SEzG
是否spring应该使用自身的cache 2 {?]W/&fS
;j%I1k%A
struts.objectTypeDeterminer b$klm6nMvm
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k\[(;9sf.
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &IN%2c
Y'iI_cg
struts.serve.static.browserCache }@q/.Ct! x
If static content served by the Struts filter should set browser caching header properties or not o6vnl
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k&ooV4#f6
+51heuu[o
struts.serve.static )'~Jsg-
Whether the Struts filter should serve static content or not y.A3hV%6b
是否struts过滤器应该提供静态内容 41<~_+-@
n725hY6}<l
struts.tag.altSyntax &B&8$X
Whether to use the alterative syntax for the tags or not Rq}lW.<r
是否可以用替代的语法替代tags 3SIqod;%
:V.@:x>id
struts.ui.templateDir se x\dg<
The directory containing UI templates > T* `Y0P
UI templates的目录夹 @[lMh9`
Bh&pZcm|
struts.ui.theme dCi:@+z8
The default UI template theme dJgLS^1E
默认的UI template主题 ;~<To9O
KFbB}oId
struts.url.http.port 3'.@aMA@
The HTTP port used by Struts URLs bVUIeX'
设置http端口 n/skDx TE
#B5,k|"/,M
struts.url.https.port o{y}c->
The HTTPS port used by Struts URLs Wa|V~PL+T
设置https端口 d9$RmCHe}
J[<Zy^"Y;
struts.url.includeParams jTR?!Mt0
The default includeParams method to generate Struts URLs D#LV&4e>.E
在url中产生 默认的includeParams YJv$,Z&;HO
mi] WZlg$
Mq$K[]F
struts.velocity.configfile ULAr!
The Velocity configuration file path jn5xYKv
velocity配置文件路径 0FOB5eBR
! $$>D"
struts.velocity.contexts sm-[=d%@L
List of Velocity context names 83c2y;|8
velocity的context列表 tfU*U>j
o=YOn&@%
M?lh1Yu"
struts.velocity.manager.classname }R}+8
org.apache.struts2.views.velocity.VelocityManager implementation class ."+lij=56
org.apache.struts2.views.velocity.VelocityManager接口名 7,SQz6]
Kd-1EU
struts.velocity.toolboxlocation ) bFl-
The location of the Velocity toolbox yus3GqPI
velocity工具盒的位置 a6LL]_&g
struts.xslt.nocache n- 2X?<_Z
Whether or not XSLT templates should not be cached >IIq_6Z#
是否XSLT模版应该被缓存 To*+Z3Wd