struts2的struts.properties配置文件详解 Sj=69>m]5
\M1M2(@pDJ
struts.action.extension c=U$$|qHV
The URL extension to use to determine if the request is meant for a Struts action +p%5/smfs
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Ot8S'cB1,$
/d]V{I~6
struts.configuration MSm`4lw
The org.apache.struts2.config.Configuration implementation class p7ns(g@9
org.apache.struts2.config.Configuration接口名 el*pYI
^QL/m\zq@%
struts.configuration.files 1Ag ;s
A list of configuration files automatically loaded by Struts J,77pf!B
struts自动加载的一个配置文件列表 %N AFU/&
~jCpL@rS
struts.configuration.xml.reload M
b /X@51
Whether to reload the XML configuration or not ,oi`BOh
是否加载xml配置(true,false) B$[%pm`'2
IP4b[|ef
struts.continuations.package G:6$P%.
The package containing actions that use Rife continuations zL!~,B8C
含有actions的完整连续的package名称 1p"EE~v
9'*ZEl^?D
struts.custom.i18n.resources 94k)a8-!
Location of additional localization properties files to load 0)] C&;}_M
加载附加的国际化属性文件(不包含.properties后缀) aSj1P/A
A>1p]#
struts.custom.properties +]~w ?^h
Location of additional configuration properties files to load n4_:#L?
加载附加的配置文件的位置 TWR#MVMI
P@S;>t{TD
U"Ob@$ROFy
struts.devMode O[(HE8E
Whether Struts is in development mode or not <W[8k-yOV`
是否为struts开发模式 JLV}Fw
0jZ{ ?
struts.dispatcher.parametersWorkaround j{w,<Wt>
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,m'#>d&zO
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <{xAvN(:
E `j5y(44
struts.enable.DynamicMethodInvocation w wRT$-!
Allows one to disable dynamic method invocation from the URL a=T7w;\h
允许动态方法调用 bz@=zLBt
hz|z&vyP
struts.freemarker.manager.classname G~hILW^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8\V>6^3CD$
org.apache.struts2.views.freemarker.FreemarkerManager接口名 c:_i)":
kkBV;v%a
struts.i18n.encoding }(%}"%$
The encoding to use for localization messages KA{DN!
国际化信息内码 IV#My9}e
hA1hE?c`
struts.i18n.reload 1~u\]Zi=D
Whether the localization messages should automatically be reloaded 0]w[wc
<
是否国际化信息自动加载 )"3oe ?
)n[Mh!mn
struts.locale O|TwG:!
The default locale for the Struts application JP*wi-8D
默认的国际化地区信息 tsC|R~wW
5@rqU(]<
struts.mapper.class HPCA$LD
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v6Wf7)d/1
org.apache.struts2.dispatcher.mapper.ActionMapper接口 @O0vh$3t0
>#n-4NZ;p9
struts.multipart.maxSize N6
(w<b
The maximize size of a multipart request (file upload) y]r~v
multipart请求信息的最大尺寸(文件上传用) (gC^5&11
vjRD?kF
struts.multipart.parser =0fx6V
The org.apache.struts2.dispatcher.multipart. )g^Ewzy^X
MultiPartRequest parser implementation for a multipart request (file upload) mBkQ
8e
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *G|]5
?G<IN)
V+5
n|L5
struts.multipart.saveDir neH"ks5
The directory to use for storing uploaded files `;2`H, G'
设置存储上传文件的目录夹 8_$2aqr
LbI])M
struts.objectFactory D5vtZu!"
The com.opensymphony.xwork2.ObjectFactory implementation class I
T2sS6&R
com.opensymphony.xwork2.ObjectFactory接口(spring) *0ntx$M-w
.JKaC>oX
struts.objectFactory.spring.autoWire &c ~)z\$
Whether Spring should autoWire or not 6x8|v7cMH
是否自动绑定Spring #T`+~tW'|
S|w] Q
struts.objectFactory.spring.useClassCache XYTcG;_z
Whether Spring should use its class cache or not ,OAWGFKOp
是否spring应该使用自身的cache /! G0 g%k
!qve1H4d2
struts.objectTypeDeterminer ~Nh7C b_
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class BEx^IQ2
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K%Ml2V
=R`2 m
struts.serve.static.browserCache 8}@a?QS(&
If static content served by the Struts filter should set browser caching header properties or not 4;{CR. D
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Xq^{P2\w1
t4uxon
struts.serve.static Xxw.{2Ji!q
Whether the Struts filter should serve static content or not ?&_\$L[
是否struts过滤器应该提供静态内容 1Xc%%j
U%l{>*q
struts.tag.altSyntax H>9$L~
Whether to use the alterative syntax for the tags or not Mpx.n]O.
是否可以用替代的语法替代tags }"tYb6*
OSU=O
struts.ui.templateDir ')<$AMy1
The directory containing UI templates !I&Sy]G
UI templates的目录夹 TUr}p aw_
MLX.MUS
struts.ui.theme ;_*F [
}w
The default UI template theme f#mpd]e+6
默认的UI template主题 x #g,l2_!
dx}!]_mlZ
struts.url.http.port s<]l[Y>
The HTTP port used by Struts URLs ktRdf6:~
设置http端口 { q<l]jn9
e#^by(1@}
struts.url.https.port o}z}79Z
The HTTPS port used by Struts URLs &h-1Z}
设置https端口 +0DIN4Y(4
ok'1
struts.url.includeParams X)+N>8o?N
The default includeParams method to generate Struts URLs jL<.?HE
在url中产生 默认的includeParams Z(P#]jI]
EzaOg|
DS fKUx&
struts.velocity.configfile Ql
1# l:Q
The Velocity configuration file path +FR"Gt$g
velocity配置文件路径 xAflcY>Ozs
19 _F\32
struts.velocity.contexts $oEDyC
List of Velocity context names |%} ?*|-
velocity的context列表 4w,}1uNEf
Bv3v;^
Ge x^\gf
struts.velocity.manager.classname i y 5
org.apache.struts2.views.velocity.VelocityManager implementation class ~A)$= "
org.apache.struts2.views.velocity.VelocityManager接口名 6~s,j({^
gqhW.e}]
struts.velocity.toolboxlocation -#r_9HQ,w
The location of the Velocity toolbox x?kZD~|{)
velocity工具盒的位置 F-6*
BUqJ
struts.xslt.nocache iX28+weH
Whether or not XSLT templates should not be cached C+Z"0\{o
是否XSLT模版应该被缓存 7)T+!>