struts2的struts.properties配置文件详解 Ft&]7dT{W
m6w].-D8
struts.action.extension #3gp6*R
The URL extension to use to determine if the request is meant for a Struts action 1,% R;7J=g
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {GQ^fu;q
iKT [=c
struts.configuration T\D}kQM
The org.apache.struts2.config.Configuration implementation class ,^2>k3=
org.apache.struts2.config.Configuration接口名 "thdPZ
Eea*s'
struts.configuration.files Dy:|g1>
A list of configuration files automatically loaded by Struts ]@phF _
struts自动加载的一个配置文件列表
sG
F aL
]x(!&y:h
struts.configuration.xml.reload {0WHn.,2Y
Whether to reload the XML configuration or not $42{HFGq
是否加载xml配置(true,false) ~XOTs
xCc[#0R{
struts.continuations.package fTK3,s1=
The package containing actions that use Rife continuations ?`PvL!'
含有actions的完整连续的package名称 lE4HM$p
_sTROd)Vh
struts.custom.i18n.resources )8$=C#qC[
Location of additional localization properties files to load 'F9 jq
加载附加的国际化属性文件(不包含.properties后缀) tM'P m
=Jyu4j *}
struts.custom.properties iMDM1}b
Location of additional configuration properties files to load ~kEI4}O
加载附加的配置文件的位置 uFinv2Z'
|R/%D%_g
`u&Rsz&^
struts.devMode ZzJ?L4J5v
Whether Struts is in development mode or not Wa{` VS
是否为struts开发模式 [q8 P~l
) QU
struts.dispatcher.parametersWorkaround !
t?iXZ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :%,:"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #ML%ij 1
]H+8rY%+
struts.enable.DynamicMethodInvocation n<z[J=I
Allows one to disable dynamic method invocation from the URL klT@cO-9
允许动态方法调用
HMh"}I2n
%[ Z \S0C
struts.freemarker.manager.classname e?8FN. q
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $Avjnm
org.apache.struts2.views.freemarker.FreemarkerManager接口名 z`f($t[
l)1r+@)\
struts.i18n.encoding 7o#I,d~
The encoding to use for localization messages E/|To
国际化信息内码 l3ko?k
-z)n?(pftm
struts.i18n.reload Z8K?
Whether the localization messages should automatically be reloaded 42$VhdG
是否国际化信息自动加载 &m)6J'q3k
Ku5\]
struts.locale
KY$)#i
The default locale for the Struts application #P0&ewy
默认的国际化地区信息 Whm,F^
) l:[^$=,
struts.mapper.class iJ1"at
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3TeY%5iVt
org.apache.struts2.dispatcher.mapper.ActionMapper接口 vqDu(6!2
su{poQ}K
struts.multipart.maxSize P3+5?.p.
The maximize size of a multipart request (file upload) 4%>$-($
multipart请求信息的最大尺寸(文件上传用) s(/;U2"e
^/I
7|u]
struts.multipart.parser < $lCkSx<Q
The org.apache.struts2.dispatcher.multipart. YNKHN2E8
MultiPartRequest parser implementation for a multipart request (file upload) chM%]|gey
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &^}1O:8e
ib#KpEk
=Y|VgV
struts.multipart.saveDir ;-~B)M_S`
The directory to use for storing uploaded files tE<H|_{L
设置存储上传文件的目录夹 `T@i. 'X
Lt?lv2k=L
struts.objectFactory Y']\Jq{OS
The com.opensymphony.xwork2.ObjectFactory implementation class cQCSe,$ W
com.opensymphony.xwork2.ObjectFactory接口(spring) tkeoNuAM
ZxGJzakB5$
struts.objectFactory.spring.autoWire Yvw(tj5_5
Whether Spring should autoWire or not ayR-\mZ
是否自动绑定Spring M ?Y;a5{
,8U&?8l
struts.objectFactory.spring.useClassCache snE8 K}4
Whether Spring should use its class cache or not bzBEX mC
是否spring应该使用自身的cache x<tb
s~ a"4~f
struts.objectTypeDeterminer ^}/PGG\~r
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class le|~BG hL
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 89pEfl j2
UZ\u;/}
struts.serve.static.browserCache
4":KoS`,j
If static content served by the Struts filter should set browser caching header properties or not _|kxY'_[8
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kCWV r
YxYH2*q@
struts.serve.static >JHryS.j$4
Whether the Struts filter should serve static content or not :~"CuB/
是否struts过滤器应该提供静态内容 g:g\>@Umo
FH?U(-
struts.tag.altSyntax \)#kquH/l
Whether to use the alterative syntax for the tags or not at#ja_ hd
是否可以用替代的语法替代tags ?~BC#B\>o
BKCA<
struts.ui.templateDir I0D(F
i
The directory containing UI templates eI$oLl@
UI templates的目录夹 LiN$
pwm
2VmNZ{<
struts.ui.theme aH)}/n
The default UI template theme JU1~e@/'%
默认的UI template主题 Z]>O+
e2 4WW^S
struts.url.http.port o[Q MT P
The HTTP port used by Struts URLs (y=C_wvqZ
设置http端口 3oF45`3FV
BTqS'NuT
struts.url.https.port k+# %DK
The HTTPS port used by Struts URLs
_C%3h5
设置https端口 %KCyb
F~R;n_IJ
struts.url.includeParams hgYZOwQ
The default includeParams method to generate Struts URLs 0fb2;&pUa
在url中产生 默认的includeParams ^S4d:-.3
b[r8e
dI.WK@W'o
struts.velocity.configfile w1Nm&}V
The Velocity configuration file path g0xuxK;9c
velocity配置文件路径 u@W|gLT1
hO\<%0F
struts.velocity.contexts .F4>p=r
List of Velocity context names 1F5XvQl
velocity的context列表 cM(:xv
,k +IPkN+
CpUkCgg
struts.velocity.manager.classname o5Dk:Bw
org.apache.struts2.views.velocity.VelocityManager implementation class h]IxXP?h[
org.apache.struts2.views.velocity.VelocityManager接口名 1OGx>J6
sXLq*b?
struts.velocity.toolboxlocation ^bGNq
X
The location of the Velocity toolbox LM:vsG
velocity工具盒的位置 ]R+mKUZ9
struts.xslt.nocache {2O1"|s ,
Whether or not XSLT templates should not be cached 6KXtcXQ
是否XSLT模版应该被缓存 /hr7NT{e%v