struts2的struts.properties配置文件详解 @y5= J`@=
F 5U|9<
struts.action.extension 2QL?]Vo
The URL extension to use to determine if the request is meant for a Struts action \sITwPA[z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 dZDK7UL
Z%OW5]q
struts.configuration b)`pZiQP
The org.apache.struts2.config.Configuration implementation class >Mw'eQ0(y
org.apache.struts2.config.Configuration接口名 ws[/
7E\g
&R.
struts.configuration.files T)~!mifX
A list of configuration files automatically loaded by Struts \2 >3Opt
struts自动加载的一个配置文件列表 #|?8~c;RWG
(0R2T"/
struts.configuration.xml.reload xp^ 7#`MJ?
Whether to reload the XML configuration or not e1UITjy
是否加载xml配置(true,false) x6v,lR
p?kvW42/
struts.continuations.package ^KbL
,T
The package containing actions that use Rife continuations [S0mY["
含有actions的完整连续的package名称 !D;c,{Oz
^BiPLQ
struts.custom.i18n.resources /tZ0
|B(
Location of additional localization properties files to load -?z\5z
加载附加的国际化属性文件(不包含.properties后缀) @$c!/
@Z q[e
struts.custom.properties G\ex^&M
Location of additional configuration properties files to load x[x(y{&~
加载附加的配置文件的位置 u{Ak:0G7
l `R KqT+
/NU103F yt
struts.devMode ke]Yfwk
Whether Struts is in development mode or not V&iS~V0.
是否为struts开发模式 wDKELQ(yH
>vAN(3Idu
struts.dispatcher.parametersWorkaround 3+V#[JBJv
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `[Sl1saZ$S
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $@.jZ_G
^V.'^=l
struts.enable.DynamicMethodInvocation h/?6=D{
Allows one to disable dynamic method invocation from the URL SY T$3|a
允许动态方法调用 vxVOcO9<
9go))&`PJL
struts.freemarker.manager.classname oj@g2H5P
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class " #v%36U
org.apache.struts2.views.freemarker.FreemarkerManager接口名 3[VNsX
;7j,MbU
struts.i18n.encoding `HyF_m>\
The encoding to use for localization messages J^:n* C
国际化信息内码 M4:s;@qZ.
d.AC%&W
struts.i18n.reload :,~K]G
Whether the localization messages should automatically be reloaded Ww`&i
是否国际化信息自动加载 (f>M &..
eGvOA\y:
struts.locale :tbd,Uo
The default locale for the Struts application 2(+P[( N1,
默认的国际化地区信息 FM\[].
X~L!e}Rz
struts.mapper.class V|: qow:F
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z&Pu8zG
/m
org.apache.struts2.dispatcher.mapper.ActionMapper接口 hKN6 y%
z_n\5.
struts.multipart.maxSize RRzP*A%=
The maximize size of a multipart request (file upload) f GarUV
multipart请求信息的最大尺寸(文件上传用) %b?uW]j:
="(>>C1-
struts.multipart.parser MGaiTN^_<
The org.apache.struts2.dispatcher.multipart. X=,6d9,
MultiPartRequest parser implementation for a multipart request (file upload) .iT4-
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &S-er{]]
"dtlME{Bx
%/pc=i|+
struts.multipart.saveDir o;J;k_[MX
The directory to use for storing uploaded files y-a|Lu*
设置存储上传文件的目录夹 E1(1E?}!
vRr9%zx
struts.objectFactory V3uXan_
The com.opensymphony.xwork2.ObjectFactory implementation class &<0ZUI |S3
com.opensymphony.xwork2.ObjectFactory接口(spring) T6HU*(
WcEt%mGQ,
struts.objectFactory.spring.autoWire wOg,SMiq
Whether Spring should autoWire or not %{'4.
,
是否自动绑定Spring qqvF-mDN
A[JM4x
struts.objectFactory.spring.useClassCache iLtc
HpN
Whether Spring should use its class cache or not #jP/k.
是否spring应该使用自身的cache %l|\of7P2}
|' ;7v)CIG
struts.objectTypeDeterminer |^Kjz{
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7I
>J$"
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l$M +.GB<
gtYRV*^q
struts.serve.static.browserCache "8/dD]=f^a
If static content served by the Struts filter should set browser caching header properties or not !y*oF{RZ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U^ ?=
0+
J?D\$u:
struts.serve.static 1;&T^Gdj
Whether the Struts filter should serve static content or not tX?J@+
是否struts过滤器应该提供静态内容 e U;jP]FA
XwPx9+b6j
struts.tag.altSyntax hY=I5[*
Whether to use the alterative syntax for the tags or not n9]
~
是否可以用替代的语法替代tags P%)b+H{$h
Le@?
/
struts.ui.templateDir sfI N)jh
The directory containing UI templates .
\F7tc8?
UI templates的目录夹 '9q6aM/&
[cpNiw4e
struts.ui.theme }0{B
The default UI template theme ~gdd cTp
默认的UI template主题 'n4u-pM(nB
i!,HB|wQ
struts.url.http.port Ekjf^Uo
The HTTP port used by Struts URLs ])N%^Qe$U
设置http端口 %wL,v.}
.
#U}q 7X
struts.url.https.port KyLp?!|>
The HTTPS port used by Struts URLs
MZ~.(&
设置https端口 Pfan7fq+
TB#Nk5
struts.url.includeParams zH=hIVc
The default includeParams method to generate Struts URLs )`Ed_F}k
在url中产生 默认的includeParams p+<}YDMb
K\^&+7&zVg
ipZHSA
struts.velocity.configfile 9,WG!4:+W
The Velocity configuration file path @a(oB.i
velocity配置文件路径 VGZ6
qd(hQsfqYU
struts.velocity.contexts |M E{gy`5
List of Velocity context names yekRwo|
velocity的context列表 ]>8)|]O6n
dtTlIhh1V
~6d5zI4\
struts.velocity.manager.classname 3cThu43c
org.apache.struts2.views.velocity.VelocityManager implementation class .Dx2 ;lj
org.apache.struts2.views.velocity.VelocityManager接口名 }cW#045es
=l,#iYJP8
struts.velocity.toolboxlocation ML=z<u+
The location of the Velocity toolbox ^:z7E1~
velocity工具盒的位置 f3&/r
struts.xslt.nocache ) b:4uK
A
Whether or not XSLT templates should not be cached 5f_7&NxT
是否XSLT模版应该被缓存 @vAFfYU9<.