struts2的struts.properties配置文件详解 (n(
fI f
FeJr\|FT
struts.action.extension ]bCq=6ZKR
The URL extension to use to determine if the request is meant for a Struts action ]
7;f?+
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kW=z+
a.F Al@Br
struts.configuration _K2?YY(#>
The org.apache.struts2.config.Configuration implementation class "T/>d%O1b
org.apache.struts2.config.Configuration接口名 lw%?z/HDf
8am`6;O:!
struts.configuration.files e>'H
IO
A list of configuration files automatically loaded by Struts ^u)z{.z'H/
struts自动加载的一个配置文件列表 qf'm=efRyu
<T?oKOD ]
struts.configuration.xml.reload |BMV.Zi
Whether to reload the XML configuration or not @# P0M--X
是否加载xml配置(true,false) vP!GJX&n5
iSK+GQ~
struts.continuations.package D.!~dyI.,$
The package containing actions that use Rife continuations u }hF8eD
含有actions的完整连续的package名称 &UHPX?x
_=6 rE
struts.custom.i18n.resources +WJ(QZEhD
Location of additional localization properties files to load H Yr}wG
加载附加的国际化属性文件(不包含.properties后缀) UO`;&e-DB
ajhEL?%D
struts.custom.properties z:Sigo_z[
Location of additional configuration properties files to load H2gj=krK
加载附加的配置文件的位置 QA!_} N4n
s,VXc/
qKS;x@
struts.devMode Cz#Z <:
Whether Struts is in development mode or not T4e\0.If
是否为struts开发模式 JF9yVE -
\ b8sG"G
struts.dispatcher.parametersWorkaround !#ri5{od
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =Yo1v=wxN
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eS/B24;*
tU wRE|_
struts.enable.DynamicMethodInvocation G>qZxy`c
Allows one to disable dynamic method invocation from the URL d87vl13
允许动态方法调用 0x2!<z
A?5E2T1L%.
struts.freemarker.manager.classname 4S0>-?{
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class F7m?xy
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }]1BO
T<yP* b2E
struts.i18n.encoding l|`9:H
The encoding to use for localization messages zZ-wG
国际化信息内码 +#@"*yj3
bZ_mYyBh
struts.i18n.reload MWk:sBCqr
Whether the localization messages should automatically be reloaded ;#G oGb4AM
是否国际化信息自动加载 jd`},X /
w
JwX[\
struts.locale l*b)st_p%
The default locale for the Struts application PQW(EeQ
默认的国际化地区信息 Gnm4gF!BI
iL{M+Ic
struts.mapper.class gJt`?8t
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Bc-yxjsw
org.apache.struts2.dispatcher.mapper.ActionMapper接口 SZ![%)83
S/vf'gj
struts.multipart.maxSize rtJl _0`
The maximize size of a multipart request (file upload) tqPx$s
multipart请求信息的最大尺寸(文件上传用) Nb2Qp
K
9&%fq)gS
struts.multipart.parser 6!iJ;1PeE
The org.apache.struts2.dispatcher.multipart. C8N{l:1f]
MultiPartRequest parser implementation for a multipart request (file upload) uNbH\qd=
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C.:=lo B
_zxLwU1(x
ulHn#)
struts.multipart.saveDir 8 S`9dSc
The directory to use for storing uploaded files .N4
设置存储上传文件的目录夹 .UCt|> $
lor8@Qz
struts.objectFactory g3@Rl2yQJ
The com.opensymphony.xwork2.ObjectFactory implementation class 3b'tx!tFN
com.opensymphony.xwork2.ObjectFactory接口(spring) M_0zC1
1xNVdI
struts.objectFactory.spring.autoWire :R6bq!
Whether Spring should autoWire or not ^_I} x)i*@
是否自动绑定Spring M/D)".;
B
(/U3}w-
struts.objectFactory.spring.useClassCache kpwt]]e*
Whether Spring should use its class cache or not hli|B+:m"
是否spring应该使用自身的cache Oh.ZPG=
"o!{51!'
struts.objectTypeDeterminer /il@`w;G
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #yseiVm;
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (LvS
:?T}
$ZPX]2D4B#
struts.serve.static.browserCache ;wiao(t>4N
If static content served by the Struts filter should set browser caching header properties or not `?*%$>W#"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I|oT0y&
V=I"-k}RL
struts.serve.static &WXY 'A=
Whether the Struts filter should serve static content or not E9j+o y
是否struts过滤器应该提供静态内容 T&Xl'=/
>>l`,+y
struts.tag.altSyntax uD_v!
Whether to use the alterative syntax for the tags or not X#xFFDzN
是否可以用替代的语法替代tags %sh>;^58P
r#PMy$7L
struts.ui.templateDir _eSdnHWx
The directory containing UI templates LVIAF0kX
UI templates的目录夹 q:>^ "P{
|as!Ui/J/
struts.ui.theme S&O3HC
The default UI template theme ] U@o0
默认的UI template主题 -!RtH |P
@YvOoTyb
struts.url.http.port yn
AB
The HTTP port used by Struts URLs + j+5ud`
设置http端口 uxn)R#?
kEeo5XN
struts.url.https.port e;bYaM4UX
The HTTPS port used by Struts URLs %Kh4m7
设置https端口 8rZ!ia!
CF!Sa 6
struts.url.includeParams MmPU7Nl%X
The default includeParams method to generate Struts URLs _3iHkQr
在url中产生 默认的includeParams #H [Bb2(j
72W,FU~OD
I7+9~5p
struts.velocity.configfile ~8 H_u
The Velocity configuration file path +1JH
velocity配置文件路径 p1pQU={<
u*S=[dq
struts.velocity.contexts qIUfPA=/_
List of Velocity context names %A1@&xrbl
velocity的context列表 R;whW:Tx
))D:8l@
Z0!5d<
struts.velocity.manager.classname g]@(E
org.apache.struts2.views.velocity.VelocityManager implementation class ! hd</_#
org.apache.struts2.views.velocity.VelocityManager接口名 s1Ok|31|
<Tw>|cFT
struts.velocity.toolboxlocation <F7kh[L_x
The location of the Velocity toolbox 0Q,g7K<d
velocity工具盒的位置 "eWk#/
struts.xslt.nocache =.<@`1
Whether or not XSLT templates should not be cached WS-dS6Q}
是否XSLT模版应该被缓存 0|xIBg)