struts2的struts.properties配置文件详解 7%4.b7Q
eES'}[W>
struts.action.extension ;|!MI'Af
The URL extension to use to determine if the request is meant for a Struts action ugI#ZFjJWE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 uJY.5w
S6GMUaR
struts.configuration 80}4/8
The org.apache.struts2.config.Configuration implementation class kbhX?; <`
org.apache.struts2.config.Configuration接口名 x6ahZ
/ERNS/w
struts.configuration.files Zi/-~')E
A list of configuration files automatically loaded by Struts 6 Uw;C84!
struts自动加载的一个配置文件列表 ^!}F%
3za`>bUN
struts.configuration.xml.reload j7}lF?cJ2
Whether to reload the XML configuration or not i:d`{kJ|[
是否加载xml配置(true,false) V\AK6U@r^
0~]QIdu{AR
struts.continuations.package V9T
4+
The package containing actions that use Rife continuations N<liS3>
含有actions的完整连续的package名称 $@2"{9Z
WNa3^K/W{
struts.custom.i18n.resources ^X&)'H
Location of additional localization properties files to load &dRjqn^&X
加载附加的国际化属性文件(不包含.properties后缀) b66R}=P l
[/OQyb4F<
struts.custom.properties ,]7XMU3
Location of additional configuration properties files to load y\#o2PVmY
加载附加的配置文件的位置 nhewDDu
j&CZ=?K^c
b@6:1x
struts.devMode Fc'[+L--Q
Whether Struts is in development mode or not \5hw9T&[B
是否为struts开发模式 .E$q&7@/j
2h)8Fq_"
struts.dispatcher.parametersWorkaround GJ `UO
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Szts<n5
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E*k([ZL
TV=c,*TV
struts.enable.DynamicMethodInvocation K2HvI7$-
Allows one to disable dynamic method invocation from the URL EeB3 }
允许动态方法调用 $)*xC!@6X
'#H")i
struts.freemarker.manager.classname \XS]N_}8>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class RdI};K
org.apache.struts2.views.freemarker.FreemarkerManager接口名 lsY `c"NW>
JNBT^=x
struts.i18n.encoding R hio7C
The encoding to use for localization messages ~^7r?<aKc
国际化信息内码 JYV\oV{
wAh#
struts.i18n.reload zQc"bcif5(
Whether the localization messages should automatically be reloaded k 4B_W
是否国际化信息自动加载 OQFi.8
F;kvH
struts.locale KjOi(YUnq7
The default locale for the Struts application @9vvR7{P
默认的国际化地区信息 tOH0IE c
zMGzReJ
struts.mapper.class >vVw!.fJ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -:SIS`0s
org.apache.struts2.dispatcher.mapper.ActionMapper接口 El
(/em
PN
&|8_
struts.multipart.maxSize azX`oU,l
The maximize size of a multipart request (file upload) )%VCzye*{
multipart请求信息的最大尺寸(文件上传用) GV8)Kor%
kA^A mfba
struts.multipart.parser a,n93-m(m
The org.apache.struts2.dispatcher.multipart. gz61FW
MultiPartRequest parser implementation for a multipart request (file upload) 5B*qbM
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $.:3$et@/
sPCMckt
|>2:eH
struts.multipart.saveDir CH;;V3
The directory to use for storing uploaded files tpYa?ZCM
设置存储上传文件的目录夹 eYEc^nC,c)
A1-qtAO]
struts.objectFactory ZEGd4_ux
The com.opensymphony.xwork2.ObjectFactory implementation class /{X_
.fv<v
com.opensymphony.xwork2.ObjectFactory接口(spring) ]:et~pfW
k1fRj_@WPT
struts.objectFactory.spring.autoWire !ZrB^?sO
Whether Spring should autoWire or not |$e:*
是否自动绑定Spring /U*yw5
ETp'oh}?
struts.objectFactory.spring.useClassCache rk,p!}FqL
Whether Spring should use its class cache or not H]Wp%"L
是否spring应该使用自身的cache
$Nu)E
!O{z 3W
struts.objectTypeDeterminer <HQ&-j x
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T//S,
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Df@/cT
m r4b
struts.serve.static.browserCache "'A"U
If static content served by the Struts filter should set browser caching header properties or not |scUo~
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g.a| c\WH
H/J<Pd$p
struts.serve.static U3F3((EYJ
Whether the Struts filter should serve static content or not ^~l $&~
是否struts过滤器应该提供静态内容 f&yQhe6 q
*#2Rvt*Ox
struts.tag.altSyntax O,mip
Whether to use the alterative syntax for the tags or not Of`c`-<j
是否可以用替代的语法替代tags ]k*1KP
,4Y*:JU4
struts.ui.templateDir [6RfS
The directory containing UI templates gX,9Gh
UI templates的目录夹 2[up+;%Y
A]?^ H<
struts.ui.theme 254~:eB0
The default UI template theme XDYosC:
默认的UI template主题 a)9rs\Is{
16$y`~c-z
struts.url.http.port &p"(-
The HTTP port used by Struts URLs 3hS6jS
设置http端口 l h/&__
9+Nw/eszO
struts.url.https.port irMd
jG
The HTTPS port used by Struts URLs %MJ;Q?KB
设置https端口 8#59iQl
d+}k g
struts.url.includeParams (1){A8=?o
The default includeParams method to generate Struts URLs 3k'.(P|F
在url中产生 默认的includeParams A1A3~9HuK
aws"3O%
uW
70Ka!
struts.velocity.configfile %S#WPD'Y
The Velocity configuration file path Hr
}k5'
velocity配置文件路径 ow.6!tl0=h
x~/+RF XF
struts.velocity.contexts onl>54M^
List of Velocity context names f0oek{
velocity的context列表 Kx6y"
{me|
R8<eN9bJ9
iV
hJH4
struts.velocity.manager.classname .Z%G@X*
org.apache.struts2.views.velocity.VelocityManager implementation class &U&%ka<*
org.apache.struts2.views.velocity.VelocityManager接口名 iZ;TYcT
@J vZ[T/
struts.velocity.toolboxlocation >V!LitdJ
The location of the Velocity toolbox nY^Nbh0
velocity工具盒的位置 d
4O
struts.xslt.nocache Fu)Th|5GZ
Whether or not XSLT templates should not be cached -&Gfh\_NW
是否XSLT模版应该被缓存 hz)9"B\S