struts2的struts.properties配置文件详解 GM1z@i\5
O=,[u?
struts.action.extension uL\b*rI
The URL extension to use to determine if the request is meant for a Struts action jkTh)Bm|'
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Se0!-NUK0
2kP0//
struts.configuration & XS2q0-x
The org.apache.struts2.config.Configuration implementation class }6Ut7J]a|
org.apache.struts2.config.Configuration接口名
1z .
O9+Dd%_KS#
struts.configuration.files h8nJt>h
A list of configuration files automatically loaded by Struts -?jI{].:8
struts自动加载的一个配置文件列表 A*1-2
.G ^-.p
struts.configuration.xml.reload #hp7@ Tu
Whether to reload the XML configuration or not {}sF?wZf
是否加载xml配置(true,false) gD13(G98
uX.^zg]}%
struts.continuations.package 2)iwAu
The package containing actions that use Rife continuations +ESEAi91
含有actions的完整连续的package名称 iy<|<*s2D
nC:>1kt
struts.custom.i18n.resources UN
FQ`L
Location of additional localization properties files to load Q9i&]V[`
加载附加的国际化属性文件(不包含.properties后缀) S]}hh,A
w^AY= Fc
struts.custom.properties X.q,
Location of additional configuration properties files to load TFfV?rBI
加载附加的配置文件的位置 cO8':P5Q
5Kadh2nz
& bKl(,
struts.devMode R6(sWN-
Whether Struts is in development mode or not \
F\ /<
是否为struts开发模式 e_<'zH_1
QLs9W&PG
struts.dispatcher.parametersWorkaround 0XcH
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $ \yZ;Z:
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) p)u?x)w=
Po)!vL"
struts.enable.DynamicMethodInvocation j&(Yk"j+
Allows one to disable dynamic method invocation from the URL b7^Db6qu
允许动态方法调用 $dxk;V
>/]`
f8^
struts.freemarker.manager.classname Io(*_3V)B
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2`|gnVw
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Oc6_x46S4
YaBZ#$r
struts.i18n.encoding EJCf[#Sf
The encoding to use for localization messages Kl'u
国际化信息内码 65HP9`5Tm
F@%`(/^TA
struts.i18n.reload yb-1zF|
Whether the localization messages should automatically be reloaded Q[vQT?J7
是否国际化信息自动加载 b p[wr
vvTQ!Aa
struts.locale OV"uIY[%8V
The default locale for the Struts application $fzO:br5WJ
默认的国际化地区信息 Daw;6f:
@QN(ouq Q
struts.mapper.class 483/ZgzT`
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Nv~H797B
org.apache.struts2.dispatcher.mapper.ActionMapper接口 $_ BoG
FI(iqSJ6
struts.multipart.maxSize d3[O!4<T
The maximize size of a multipart request (file upload) >=6 j:
multipart请求信息的最大尺寸(文件上传用) h7P<3m}
n@JZ 2K4
struts.multipart.parser s3/iG37K
The org.apache.struts2.dispatcher.multipart. nF)b4`Nd
MultiPartRequest parser implementation for a multipart request (file upload) f@j )t%mh
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f`gs/R
qk{+Y
/q^\g4J
struts.multipart.saveDir m8T< x>
The directory to use for storing uploaded files n9 %&HDl4
设置存储上传文件的目录夹 9n#lDL O
*QGyF`Go{
struts.objectFactory HM]mOmL90N
The com.opensymphony.xwork2.ObjectFactory implementation class V JJ6q
com.opensymphony.xwork2.ObjectFactory接口(spring) {f(RY j
m]?C @ina
struts.objectFactory.spring.autoWire q:/3uC7
Whether Spring should autoWire or not ^[6S]Ft(
是否自动绑定Spring *U mWcFoF
zR!p-7_w
struts.objectFactory.spring.useClassCache <k'%rz
Whether Spring should use its class cache or not uxOeD%Z>
是否spring应该使用自身的cache [0?W>A*h
?;YymD_
struts.objectTypeDeterminer tR Cz[M&
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class JW}O`H9
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +V `*
l+UUv]:1
struts.serve.static.browserCache W7` fI*lc
If static content served by the Struts filter should set browser caching header properties or not ,\RZ+kC>~
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 s# 9*`K
pQNTN.L9NZ
struts.serve.static -<{;.~nI.
Whether the Struts filter should serve static content or not 1EemVZdY
是否struts过滤器应该提供静态内容 +B&,$ceyaJ
'* eeup
struts.tag.altSyntax ?/1Eu47
Whether to use the alterative syntax for the tags or not K(3_1*e
是否可以用替代的语法替代tags T!%J x.^
| zyO;
struts.ui.templateDir 0@tN3u?dx
The directory containing UI templates v;o/M6GL5
UI templates的目录夹 MJ M<
*~\R0ddz
struts.ui.theme [e`e bn[C
The default UI template theme U~GQ JR
默认的UI template主题 YHOo6syk
)?MUUI :
struts.url.http.port 0a}a
The HTTP port used by Struts URLs @~CXnc0
设置http端口 P;U(2;9 N
)Y &RMYy
struts.url.https.port -(lCM/h
The HTTPS port used by Struts URLs fc<~R
设置https端口 >]<4t06D
UJiy]y
struts.url.includeParams !dV2:`|+
The default includeParams method to generate Struts URLs @#2KmM~I
在url中产生 默认的includeParams xO{$6M3-~
z=6zc-$y 9
!T"jvDYH
struts.velocity.configfile {fI"p;|
The Velocity configuration file path H(gETRh
velocity配置文件路径 ae>B0#=
`LOW)|6r`
struts.velocity.contexts sXwa`_{
List of Velocity context names I&9Itn p$
velocity的context列表 '\% Kd+k
E}g)q;0v|2
@q"HZO[
struts.velocity.manager.classname y#{v\h
Cz
org.apache.struts2.views.velocity.VelocityManager implementation class _KJ!C!
org.apache.struts2.views.velocity.VelocityManager接口名 n+57# pS7
\P;2s<6i\
struts.velocity.toolboxlocation w2) @o>w
The location of the Velocity toolbox 0fog/c#q(
velocity工具盒的位置 BMO &(g
struts.xslt.nocache >zo_ }A!
Whether or not XSLT templates should not be cached rlQ=rNrG&E
是否XSLT模版应该被缓存 wE3fKG.