struts2的struts.properties配置文件详解 :>P4L,Da]
ws>WA{]gq
struts.action.extension \]T=j#.S$
The URL extension to use to determine if the request is meant for a Struts action 5@+4
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C(V[wvL
mvHh"NJ
struts.configuration >~5lYD
The org.apache.struts2.config.Configuration implementation class Q%& _On
org.apache.struts2.config.Configuration接口名 \LdmGv@&
r=~WMDCz@
struts.configuration.files @K$VV^wp
A list of configuration files automatically loaded by Struts M&qh]v gC
struts自动加载的一个配置文件列表 SZ5O89
_{LN{iqDv
struts.configuration.xml.reload 9;0V
/y
Whether to reload the XML configuration or not t."g\;
是否加载xml配置(true,false) HzRX$IKB3(
.D8~)ZWN
struts.continuations.package j+DE|Q&]I
The package containing actions that use Rife continuations U1,~bO9
含有actions的完整连续的package名称 [G{rHSK5tQ
tZaD ${
struts.custom.i18n.resources f^W[;w
Location of additional localization properties files to load Sl3KpZ
加载附加的国际化属性文件(不包含.properties后缀) (Wd_G-da
omM&{ }8 g
struts.custom.properties :/C ?FHs9
Location of additional configuration properties files to load =n@F$/h
加载附加的配置文件的位置 1)TK01R8
kOs(?=
,CJAzGBS
struts.devMode ([:]T$0 #
Whether Struts is in development mode or not Ts|--,
是否为struts开发模式 ]43al f F#
.6> hD1'
struts.dispatcher.parametersWorkaround p"Ot5!F>
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C=fsJ=a5;
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3/X-Cr+d
)!tCC-Cr
struts.enable.DynamicMethodInvocation e8$l0gzaD
Allows one to disable dynamic method invocation from the URL P DRnW
允许动态方法调用 CY34X2F
i 3m3zXt
struts.freemarker.manager.classname Q*]$)D3n
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,Pn-ZF
org.apache.struts2.views.freemarker.FreemarkerManager接口名 &!ED# gs
-x{dc7y2
struts.i18n.encoding EQ4#fAM)
The encoding to use for localization messages 25UYOK}!
国际化信息内码
s[3e=N
kr%2 w
struts.i18n.reload 6yY.!HRkr
Whether the localization messages should automatically be reloaded &e5(Djz8t
是否国际化信息自动加载 [+;qWfs B
~A6 "sb=
struts.locale Ab/j(xr=
The default locale for the Struts application wMGk!N
默认的国际化地区信息 mw_ E&v
q# MM
struts.mapper.class [r(Qs|
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l71gf.4g
org.apache.struts2.dispatcher.mapper.ActionMapper接口 P''X_1oMC
@}WNKS&m
struts.multipart.maxSize :-?Ct
The maximize size of a multipart request (file upload) PocYFhWQ`
multipart请求信息的最大尺寸(文件上传用) u_PuqRcs
`-_N@E1'>
struts.multipart.parser Z`Pd2VRp
The org.apache.struts2.dispatcher.multipart. Zmf'{t T5
MultiPartRequest parser implementation for a multipart request (file upload) 3 t)v%S|k
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b.b@bq$1
#Z\O}<
(zG.aaz*C
struts.multipart.saveDir i(*I@ku
The directory to use for storing uploaded files ,_D"?o
设置存储上传文件的目录夹 piOXo=9H.
Jic}+X*0
struts.objectFactory Q.+|xwz
The com.opensymphony.xwork2.ObjectFactory implementation class AVG>_$<
com.opensymphony.xwork2.ObjectFactory接口(spring) 9I`Y-D
P}V=*g
struts.objectFactory.spring.autoWire =oX>Ph+ P
Whether Spring should autoWire or not DdSSd@,x*
是否自动绑定Spring Gs
dnf 7
'7*=`q{
struts.objectFactory.spring.useClassCache e'2Y1h
Whether Spring should use its class cache or not '9s5OTkN ;
是否spring应该使用自身的cache u=r`t(Z1H
r[_4Lo@G
struts.objectTypeDeterminer k%P;w1
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $Z?\>K0i
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,Q/Ac{C
#z!^<,
struts.serve.static.browserCache Fl3#D7K
If static content served by the Struts filter should set browser caching header properties or not g>
S*<
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >^$2f&z
"&~
0T#
struts.serve.static p'n4)I2#
Whether the Struts filter should serve static content or not nmFC%p)4
是否struts过滤器应该提供静态内容 }P9Ap3?
93O;+Z5J
struts.tag.altSyntax s%pfkoOY%
Whether to use the alterative syntax for the tags or not 2+o|A
是否可以用替代的语法替代tags KCuGu}
@}s$]i$|-
struts.ui.templateDir HKO739&n}
The directory containing UI templates ;AJTytE>%
UI templates的目录夹 fNu'((J-
J*fBZ.NO
struts.ui.theme ?BA^YF
The default UI template theme q<#>HjC
默认的UI template主题 !yOeW0/2[
&o3K%M;C?
struts.url.http.port J;$N{"M
The HTTP port used by Struts URLs *e#<n_%R
设置http端口 H ?M/mGP
!0,Mp@ j/
struts.url.https.port
IJIzXU
The HTTPS port used by Struts URLs D]s]"QQ8
设置https端口 8>WVodv
{yA$V0`N{
struts.url.includeParams 8qEK+yi,
The default includeParams method to generate Struts URLs A"5z6A4WB
在url中产生 默认的includeParams _c$9eAe
+;}#B~:
eP.Vd7ky
struts.velocity.configfile
Ez~'^s@
The Velocity configuration file path 7Q w|!
velocity配置文件路径 dsx]/49<
`(6r3f~XJ
struts.velocity.contexts ?ULo&P[
List of Velocity context names )vg5((C
velocity的context列表 NcPgq?3p
!HeSOzN
^ci3F<?Q=
struts.velocity.manager.classname .`<@m]m-
org.apache.struts2.views.velocity.VelocityManager implementation class 9+s.w25R
org.apache.struts2.views.velocity.VelocityManager接口名 I\~G|B
%1 vsN-O}8
struts.velocity.toolboxlocation G$0c'9d*(
The location of the Velocity toolbox Uo12gIX
velocity工具盒的位置 {j5e9pg1L|
struts.xslt.nocache RB* J=
Whether or not XSLT templates should not be cached e!Y0-=?nf#
是否XSLT模版应该被缓存 +YLejjQ