struts2的struts.properties配置文件详解 jB%lB1Q|
zv0l,-o
struts.action.extension TaKLzd2
The URL extension to use to determine if the request is meant for a Struts action PgtJ3oq[}
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6dabU*
J8uLJ
struts.configuration 42G)~lun-d
The org.apache.struts2.config.Configuration implementation class :XZU&Sr"
org.apache.struts2.config.Configuration接口名 I>]oS(GNT
?!A7rb/tj
struts.configuration.files YIoQL}pX
A list of configuration files automatically loaded by Struts GpY"fc%
struts自动加载的一个配置文件列表 q&s3wDl/
,(d)Qg
struts.configuration.xml.reload oHd FMD@
Whether to reload the XML configuration or not 7}f}$1
是否加载xml配置(true,false) 2Rw&C6("w
sFT.Oxg<
struts.continuations.package U>=Z-
T
The package containing actions that use Rife continuations FGigbtj`
含有actions的完整连续的package名称 8i>ZY
R!\_rc1/
struts.custom.i18n.resources vK|E>nL
Location of additional localization properties files to load 8@i7pBl@
加载附加的国际化属性文件(不包含.properties后缀) xjfV?B'Y}V
Qu?R8+"KS
struts.custom.properties %7zuQ \w
Location of additional configuration properties files to load re/@D@%
加载附加的配置文件的位置 { C=NUK%?
]
o*#t
WIC/AL'
struts.devMode 0^I|ut4
Whether Struts is in development mode or not 6&
e3Nt
是否为struts开发模式 i2E)P x
ehzM)uK
struts.dispatcher.parametersWorkaround 60P#,o@G
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]R h#g5X
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zM bN;tu
i
UCXAWP
struts.enable.DynamicMethodInvocation v- T$:cL
Allows one to disable dynamic method invocation from the URL ;X?}x%$
允许动态方法调用 `Nz/Oh7
4r>6G/b8*
struts.freemarker.manager.classname Dv| #u|iw
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @mOH"acGn?
org.apache.struts2.views.freemarker.FreemarkerManager接口名 RQ vft
i6dHrx]:,
struts.i18n.encoding "?]{%-u
The encoding to use for localization messages iHeN9 cl
国际化信息内码 diJLZikk
c`J.Tm[_u
struts.i18n.reload <sWprR
Whether the localization messages should automatically be reloaded o3Yb7h9
是否国际化信息自动加载 .`HYA*8_
E27vR 7
struts.locale W5EDVPur
The default locale for the Struts application aoMqSwF=
默认的国际化地区信息 ~zHjMo2
=5J7Hw&K
struts.mapper.class e<3K;Q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class aC$B2
org.apache.struts2.dispatcher.mapper.ActionMapper接口 R<\F:9
RN$1bxY
struts.multipart.maxSize d/PiiiFf,
The maximize size of a multipart request (file upload) x'+T/zw
multipart请求信息的最大尺寸(文件上传用) ~HTmO;HNf"
xf<at ->
struts.multipart.parser Bp_$.!Qy
The org.apache.struts2.dispatcher.multipart. tjIl-IQ
MultiPartRequest parser implementation for a multipart request (file upload) :o|\"3
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \w/yF4,3<w
`IP/d
$+P>~X)
struts.multipart.saveDir ?oVx2LdD|
The directory to use for storing uploaded files OVm\
设置存储上传文件的目录夹 X &uTSgN
AJh w
struts.objectFactory 1n=lqn/
The com.opensymphony.xwork2.ObjectFactory implementation class &~8oQC-eF
com.opensymphony.xwork2.ObjectFactory接口(spring) N >FKy'.gk
uD\?(LM
struts.objectFactory.spring.autoWire <v)1<*I
Whether Spring should autoWire or not DK$X2B"c V
是否自动绑定Spring JLnH&(O
{K+icTL3
struts.objectFactory.spring.useClassCache (KFCs^x7wG
Whether Spring should use its class cache or not C<NLE-
是否spring应该使用自身的cache oC<.=2]
g<l1zo`_
struts.objectTypeDeterminer JSkLEa~<
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K~c=M",mW
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口
3L<wQ(
dYT%
struts.serve.static.browserCache >pU$wq|i
If static content served by the Struts filter should set browser caching header properties or not ^Y=\#-Dd
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k3u"A_"c
F20E_2;@@
struts.serve.static [<2<Y
Whether the Struts filter should serve static content or not P^A!.}d
是否struts过滤器应该提供静态内容 {9?Jj A
?ATOXy
struts.tag.altSyntax W}m)cn3@
Whether to use the alterative syntax for the tags or not Lhl]g^SN
是否可以用替代的语法替代tags BUWqIdg
0+?7EL~
struts.ui.templateDir wLi4G@jJ
The directory containing UI templates 0rOfrTNOz%
UI templates的目录夹 )k\H@Dy%$
gbI^2=YT'
struts.ui.theme XlV0* }S
The default UI template theme U7K,AflK?M
默认的UI template主题 m+b):
?%O(mC]u&
struts.url.http.port syWG'(>
The HTTP port used by Struts URLs O#F
设置http端口 Q9~*<I> h;
\DYWy*pe
struts.url.https.port W }8'Pf
The HTTPS port used by Struts URLs qlb-
jL
设置https端口 4.Q} 1%ZN
a2dnbfSWa[
struts.url.includeParams )[PtaPWeT
The default includeParams method to generate Struts URLs v>$'iT~ l
在url中产生 默认的includeParams >hPQRd
x.f]1S7h[
fI{E SXU
struts.velocity.configfile tasIDoo+!J
The Velocity configuration file path Gf,`
velocity配置文件路径 IEXt:
'9S8}q
struts.velocity.contexts !
='rc-E
List of Velocity context names 'JCZ]pZ
velocity的context列表 VXYK?Qc'
uEktQ_u[
+@94;me
struts.velocity.manager.classname 8"U. Hnu
org.apache.struts2.views.velocity.VelocityManager implementation class )we}6sE"
org.apache.struts2.views.velocity.VelocityManager接口名 .} q&5v
6HZ` .o:f
struts.velocity.toolboxlocation *G{^|z
The location of the Velocity toolbox ePr&!Tz#
velocity工具盒的位置 GO__$%~
struts.xslt.nocache 55tKTpV
Whether or not XSLT templates should not be cached v*;-yG&
是否XSLT模版应该被缓存 ex::m&