struts2的struts.properties配置文件详解 S@_GjCpn
J=sQ].EK
struts.action.extension
2r[,w]
The URL extension to use to determine if the request is meant for a Struts action UkUdpZ.[il
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Y9u2:y!LdL
r|(Lb'k
struts.configuration -4;u|0_
The org.apache.struts2.config.Configuration implementation class ~(c<ioIf
org.apache.struts2.config.Configuration接口名 "o1/gV
& 3gni4@@
struts.configuration.files vgV0a{u"
A list of configuration files automatically loaded by Struts 3yQ(,k #
struts自动加载的一个配置文件列表 t|//oEY
~b+>o
struts.configuration.xml.reload ~_q\?pw<$L
Whether to reload the XML configuration or not g7F>o76M
是否加载xml配置(true,false) w-1CA{"i7
i^8Zp;O"f
struts.continuations.package 4-o$OI>
The package containing actions that use Rife continuations @!-= :<h
含有actions的完整连续的package名称 k~H-:@
/{lls2ycW%
struts.custom.i18n.resources QeK~A@|F&
Location of additional localization properties files to load sU>*S$X8
加载附加的国际化属性文件(不包含.properties后缀) </eh^<_~
Z?~7#F~Z`
struts.custom.properties C][`Dk\D{
Location of additional configuration properties files to load CyE.q^Wm
加载附加的配置文件的位置 =(o$1v/k
(C!fIRY
kAqk~.
struts.devMode K3jno+U&
Whether Struts is in development mode or not =I?p(MqW
是否为struts开发模式 tqHXzmsjW
niFjsTA.Z
struts.dispatcher.parametersWorkaround 0Y\u,\GrxW
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .w0?
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) rh+OgKi
EV9m\'=j
struts.enable.DynamicMethodInvocation d{0>R{uac
Allows one to disable dynamic method invocation from the URL C'{Z?M>
允许动态方法调用 D%Wr/6X
&Z9b&P
struts.freemarker.manager.classname iVFnt!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E*kS{2NAq
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]xuq2MU,l
@sVBG']p
struts.i18n.encoding 1$c*/Tc:E
The encoding to use for localization messages 4X^0:.bT&
国际化信息内码 wc;5tb#
L-fAT'!'
struts.i18n.reload '+`CwB2
Whether the localization messages should automatically be reloaded (\]_/ W
是否国际化信息自动加载 REHfk6YE
-wY6da*.W
struts.locale >
vgqf>)kk
The default locale for the Struts application Dgdh3q;
默认的国际化地区信息 L)Kn8
PoC24#vS
struts.mapper.class TiH(HW|:
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $u>^A<TBN
org.apache.struts2.dispatcher.mapper.ActionMapper接口 {|a'
=I#2
h.DQ6!?;s
struts.multipart.maxSize ;Eck7nRA)
The maximize size of a multipart request (file upload) t]Vw`z%G
multipart请求信息的最大尺寸(文件上传用)
62.{8Uj
7m1*Q@D
struts.multipart.parser m'%F,c)
The org.apache.struts2.dispatcher.multipart. aFhsRE?YC=
MultiPartRequest parser implementation for a multipart request (file upload) eM8u
;i
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z#9{1sHEP
}O_6wi
,"DkMK4%
struts.multipart.saveDir ZV&=B%J bs
The directory to use for storing uploaded files %!WQ;(
设置存储上传文件的目录夹 wLW!_D,/R
J9{B
struts.objectFactory p_[k^@$
The com.opensymphony.xwork2.ObjectFactory implementation class a-hF/~84S:
com.opensymphony.xwork2.ObjectFactory接口(spring) ym-212wl
Hd4&"oeY
struts.objectFactory.spring.autoWire 55hJRm3
Whether Spring should autoWire or not [j&>dE
是否自动绑定Spring %uQ^mK
#B54p@.}
struts.objectFactory.spring.useClassCache F> ..eK
Whether Spring should use its class cache or not WWD\EDnS
是否spring应该使用自身的cache yfYAA*S!z
BHa!jw_~o
struts.objectTypeDeterminer #U'n=@U@(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +-5CM0*&
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bE0cW'6r
a}MOhM6T
struts.serve.static.browserCache >/Slk{
If static content served by the Struts filter should set browser caching header properties or not 7quhp\
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &7}-Xvc
HAP9XC(F]
struts.serve.static ^m?h .
Whether the Struts filter should serve static content or not -Ndd6O[ a5
是否struts过滤器应该提供静态内容 {R&F_51)V
e-x{7
struts.tag.altSyntax ,OG sx
Whether to use the alterative syntax for the tags or not !G,Ru~j5:
是否可以用替代的语法替代tags nAg|m,gA
ZcIwyh(`
struts.ui.templateDir W)o-aX!P
The directory containing UI templates OfIml.
UI templates的目录夹 %$S.4#G2
i |cSO2O+
struts.ui.theme XYf;72*
The default UI template theme ?f:FmgQk
默认的UI template主题 _^Rf*G !
vfmKY iLp
struts.url.http.port ZCV&v47\p_
The HTTP port used by Struts URLs c[ga@Vy
设置http端口 ~u7a50
l=xy_ TCf
struts.url.https.port Iy\K&)5?
The HTTPS port used by Struts URLs Xq,{)G%9nM
设置https端口 h2K1|PUKl[
gy,B+~p
struts.url.includeParams qJUu9[3'm
The default includeParams method to generate Struts URLs (7&[!PS
在url中产生 默认的includeParams %5$yz| :
8q}`4wCD$
<{:$]3
struts.velocity.configfile & Z*&&
The Velocity configuration file path , En
D3
|
velocity配置文件路径 KTd4pW?w
/zM
struts.velocity.contexts nTp?
List of Velocity context names `G6Nk@9.
velocity的context列表 bv-s}UP0
ps^Z)x`GV
sYgpK92
struts.velocity.manager.classname D<C ZhYJ
org.apache.struts2.views.velocity.VelocityManager implementation class LQ373
j-
org.apache.struts2.views.velocity.VelocityManager接口名 ~O&3OL:L
Cz8=G;\
struts.velocity.toolboxlocation
AI/xOd!a
The location of the Velocity toolbox 9Iy>oV
velocity工具盒的位置 h{qB\aK
struts.xslt.nocache BPwFcT)i!(
Whether or not XSLT templates should not be cached 6xvy hg#B
是否XSLT模版应该被缓存 Em %"]B