struts2的struts.properties配置文件详解 *3
8
u ~n
OXp(rJ*bK
struts.action.extension #q?'<''d,
The URL extension to use to determine if the request is meant for a Struts action wwaw|$
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h9RL(Kq{
:J6 xYy$
struts.configuration $raq,SP
The org.apache.struts2.config.Configuration implementation class %^Zu^uu
org.apache.struts2.config.Configuration接口名 $\Oc]%
RqB 8g
struts.configuration.files A{|^_1
A list of configuration files automatically loaded by Struts TMJq-u51
struts自动加载的一个配置文件列表 3n_N^q}
Ui|z#{8&
struts.configuration.xml.reload
z>lIZ}
Whether to reload the XML configuration or not c]}F$[>oN'
是否加载xml配置(true,false) ?&Ug"$v
XSHK7vpMf
struts.continuations.package v9*31Jx
The package containing actions that use Rife continuations lWPh2k
含有actions的完整连续的package名称 ?xW,2S
_$+BYK@
struts.custom.i18n.resources cS#yfN,
Location of additional localization properties files to load T{:8,CiW
加载附加的国际化属性文件(不包含.properties后缀) U'@#n2p:k
t#d{hEr
struts.custom.properties 8Wba Hw_
Location of additional configuration properties files to load Uz=OTM
加载附加的配置文件的位置 \r1nMw 3&
LIE5of
d0V*[{
struts.devMode w~4T.l#1
Whether Struts is in development mode or not \&/V p`
是否为struts开发模式
X6<Ds'I
l#IN)">1
struts.dispatcher.parametersWorkaround YJGP8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic otA'+4\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (}m2}
[nA1WFfM
struts.enable.DynamicMethodInvocation %0Ibi
Allows one to disable dynamic method invocation from the URL BEtFFi6ot
允许动态方法调用 @.)WS\Cv#E
0oQJ}8t
struts.freemarker.manager.classname @d|3c7` A
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p~WX\;
org.apache.struts2.views.freemarker.FreemarkerManager接口名 I= 2jQ>$Q
f|6 Y
struts.i18n.encoding % oJH 6F
The encoding to use for localization messages ]TVc 'G;
国际化信息内码 _1G;!eO
G5hf m-
struts.i18n.reload f cnv[B..{
Whether the localization messages should automatically be reloaded jr(|-!RVMN
是否国际化信息自动加载 KwNOB _
?{L5=X@$$
struts.locale s2`} ~
The default locale for the Struts application -e O>d}
默认的国际化地区信息 U1Y0G[i)
k%R(Qga
struts.mapper.class qnFg7X>C,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class c+{ ar^)*
org.apache.struts2.dispatcher.mapper.ActionMapper接口 W2{4s
1
.On3ZN
struts.multipart.maxSize vddl9"V)
The maximize size of a multipart request (file upload) C<#_1@^:8e
multipart请求信息的最大尺寸(文件上传用) h t3P@;
`-MCI)Fq_R
struts.multipart.parser Th
X6e
The org.apache.struts2.dispatcher.multipart. .oM;D~(=9
MultiPartRequest parser implementation for a multipart request (file upload) 5,|of{8
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tIk$4)ZAl
JFdMYb
'w0?-
struts.multipart.saveDir ASB3|uy _
The directory to use for storing uploaded files lS|F&I5j
设置存储上传文件的目录夹 {A~3/M%74;
(%'`t(<
struts.objectFactory &Qe2
}e$
The com.opensymphony.xwork2.ObjectFactory implementation class `ff@f]|3^
com.opensymphony.xwork2.ObjectFactory接口(spring) >}B53.;.k
c*r@QmB:
struts.objectFactory.spring.autoWire 9a#Y
D;-p
Whether Spring should autoWire or not LJA
uTg
是否自动绑定Spring 1 F&}e&}c
wlQ
@3RN>
struts.objectFactory.spring.useClassCache >,.\`.0
Whether Spring should use its class cache or not '|}H,I{
是否spring应该使用自身的cache 5&.I9}[)j
I+QM":2
struts.objectTypeDeterminer #r,!-;^'p
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cd`P'GDF
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 g 'Wr+(A_
Z5g*'
struts.serve.static.browserCache MO?
}$j
If static content served by the Struts filter should set browser caching header properties or not )Fw#]~Z
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 y Ni3@f
hY/qMK5
struts.serve.static Kpkpr`:)]
Whether the Struts filter should serve static content or not 9VMk?
是否struts过滤器应该提供静态内容 &;RBG$t
pd|l&xvka
struts.tag.altSyntax - _~\d+>w
Whether to use the alterative syntax for the tags or not _C=01 %/
是否可以用替代的语法替代tags _88X-~.
zDBm^ s
struts.ui.templateDir nchpD@'t
The directory containing UI templates MwX8F YF
D
UI templates的目录夹 1+[,eq
lt yhYPS
struts.ui.theme ']d(m?
The default UI template theme t>Yl=79,
默认的UI template主题 ix38|G9U
qeC^e}h
struts.url.http.port oN)I3wO$
The HTTP port used by Struts URLs d6ifJ
设置http端口 E
B!
,t
#=72/[
struts.url.https.port cYvt!M\ed
The HTTPS port used by Struts URLs r?|(t?
设置https端口 g-H,*^g+
QVah4wFL*.
struts.url.includeParams GP x+]Jw8\
The default includeParams method to generate Struts URLs C`uL
4r
在url中产生 默认的includeParams >|0I\{C
1ed^{Wa4$9
[+
: zlA
struts.velocity.configfile t.
HwX9
The Velocity configuration file path HdyE`FY \
velocity配置文件路径 C~^T=IP
2Ima15^+F
struts.velocity.contexts nGsFt.
List of Velocity context names JE# H&]
velocity的context列表 ^F-2tc
'@zMZc!
<tm=
struts.velocity.manager.classname +jS<n13T
org.apache.struts2.views.velocity.VelocityManager implementation class \=$G94%
org.apache.struts2.views.velocity.VelocityManager接口名 :2+z_+k}<
3#aLCpVla
struts.velocity.toolboxlocation ^5)=)xVF
The location of the Velocity toolbox {E}D6`{
velocity工具盒的位置 6B Hdc
struts.xslt.nocache EztuVe
Whether or not XSLT templates should not be cached :;IZ|hU
是否XSLT模版应该被缓存 lanU)+U.