struts2的struts.properties配置文件详解 g_IcF><F
S9P({iZK
struts.action.extension eOiH7{OA,
The URL extension to use to determine if the request is meant for a Struts action m3Wc};yE*Q
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W{.:Cf9
$*G3'G2'iS
struts.configuration p0 X%^A,4
The org.apache.struts2.config.Configuration implementation class rP'%f 6
org.apache.struts2.config.Configuration接口名 $.pCoS]i
=WUL%MfW
struts.configuration.files vR:#g;mnk
A list of configuration files automatically loaded by Struts %6 Av1cv
struts自动加载的一个配置文件列表 s|H7;.3gp
Pe,k y>ow
struts.configuration.xml.reload ^7/v[J<<
Whether to reload the XML configuration or not S+~;PmN9qL
是否加载xml配置(true,false) x%r$/=
3))CD,|
struts.continuations.package Ewp2 1
The package containing actions that use Rife continuations m!G(vhA,_w
含有actions的完整连续的package名称 @,eo*
"Ot%{&:2
struts.custom.i18n.resources ~`&4?c3p
Location of additional localization properties files to load BHAFO E
加载附加的国际化属性文件(不包含.properties后缀) *X$qgSW
>QvqH 2
struts.custom.properties 1Z)P.9c
Location of additional configuration properties files to load r<1W.xd":
加载附加的配置文件的位置 #*.4Jv<R
+58^{_k+%
.<>t2,Af
struts.devMode ;"Qq/knVL
Whether Struts is in development mode or not _g/d/{-{Q
是否为struts开发模式 'l<$H=ZUVG
0ZDm[#7z
struts.dispatcher.parametersWorkaround }v2p]D5n.
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic r3U7`P
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >^`# %$+
9&=%shOc+x
struts.enable.DynamicMethodInvocation gizY4~
j
Allows one to disable dynamic method invocation from the URL 1}|y^oB\-
允许动态方法调用 yN{**?b
\mGb|aF8
struts.freemarker.manager.classname *\xRNgEQ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]~dB|WB
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,&4
[`d
xj U0&
struts.i18n.encoding hz;SDaBA
The encoding to use for localization messages `Zo5!"'
国际化信息内码 jrN 5l1np
*!y04'p`<
struts.i18n.reload c^1JSGv
Whether the localization messages should automatically be reloaded ef{Hj[8
是否国际化信息自动加载 *vRHF1)L
.Qn#wub
struts.locale <:/aiX8
The default locale for the Struts application v"(6rZsa
默认的国际化地区信息 #S/~1{
:RB7#v={
struts.mapper.class *8a[M{-X
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =v\}y+
Yh
org.apache.struts2.dispatcher.mapper.ActionMapper接口
y@*4*46v
i: UN
struts.multipart.maxSize UdkNb}L
The maximize size of a multipart request (file upload) (AZneK
:*
multipart请求信息的最大尺寸(文件上传用) ld(_+<e
/ zNVJhC
struts.multipart.parser HI D6h!
The org.apache.struts2.dispatcher.multipart. 8q9^
MultiPartRequest parser implementation for a multipart request (file upload) w/o8R3F
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b_{+O qI
`k
I}p
4%nK0FAj
struts.multipart.saveDir g=4P-i3
The directory to use for storing uploaded files `O3#/1+
设置存储上传文件的目录夹 Om:Gun\%
t"%~r3{
struts.objectFactory AM!P?${a
The com.opensymphony.xwork2.ObjectFactory implementation class otjT?R2g'
com.opensymphony.xwork2.ObjectFactory接口(spring) ^8oN~HLZ
d:&cq8^
struts.objectFactory.spring.autoWire AX@bM
Whether Spring should autoWire or not 2xuU[
是否自动绑定Spring Y(rQ032s
gf9,/m
struts.objectFactory.spring.useClassCache 4xs>X7
Whether Spring should use its class cache or not }W " i{s/
是否spring应该使用自身的cache B\AyG4J
r\b$/:y<e
struts.objectTypeDeterminer P!9-!+F"
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ve[Kv07
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :X9;KoJl-V
@Kbj:S;m
struts.serve.static.browserCache CWp>8@v
If static content served by the Struts filter should set browser caching header properties or not [C
7X#|
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <MhODC")
NODE`VFu
struts.serve.static ct*~\C6Ze
Whether the Struts filter should serve static content or not ?=iy 6q
是否struts过滤器应该提供静态内容 7[ kDc-
-y&>&D
struts.tag.altSyntax u^ wGVg
Whether to use the alterative syntax for the tags or not 96F+I!qC
是否可以用替代的语法替代tags ^JIs:\g<<
QB*AQ5-
struts.ui.templateDir H9VdoxKo
The directory containing UI templates ?5d[BV
UI templates的目录夹 }/NL"0j+4
:8)3t! A
struts.ui.theme }darXtZKkK
The default UI template theme [e. `M{(TB
默认的UI template主题 2+(SR.oGq
fEK%)Z:0
struts.url.http.port `a7b,d
The HTTP port used by Struts URLs K^AIqL8
设置http端口 8.`5"9Vh
p_g8d&]V
struts.url.https.port \@6w;tyi
The HTTPS port used by Struts URLs B$97"$#u
设置https端口 !qs~j=;y3
LGRhCOP:
struts.url.includeParams G
@L`[Wu
The default includeParams method to generate Struts URLs XHuHbriI
在url中产生 默认的includeParams .0y .0=l
Y5IQhV.
1G, '
struts.velocity.configfile GV)DLHiyxX
The Velocity configuration file path Vc|QW
velocity配置文件路径 Mm"0Ip2"
F*B^#AZg
struts.velocity.contexts G"<} s
mB
List of Velocity context names 8+_e= _3R
velocity的context列表 ` NvJ
[QT
H ~
Bb5RZ#oa
struts.velocity.manager.classname ^j_t{h)W(0
org.apache.struts2.views.velocity.VelocityManager implementation class PTA_erU
org.apache.struts2.views.velocity.VelocityManager接口名 vN)l3
QN~9O^
struts.velocity.toolboxlocation -Ze2]^#dl
The location of the Velocity toolbox #k)J);&ZA
velocity工具盒的位置 pvqbk2BO
struts.xslt.nocache Q@l.p-:^U
Whether or not XSLT templates should not be cached 2;ogkPv '
是否XSLT模版应该被缓存 7tT L,Nxe