struts2的struts.properties配置文件详解 _R(9O?;q
obGhO
struts.action.extension LzJ`@0RrX
The URL extension to use to determine if the request is meant for a Struts action ubZJ Um
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 bEB2q\|Je
ie11syhV"
struts.configuration Y]_$+Si:NK
The org.apache.struts2.config.Configuration implementation class 1{5t.
org.apache.struts2.config.Configuration接口名 %-]a[qf3
+?W4ac1
struts.configuration.files +0 }_X
A list of configuration files automatically loaded by Struts @( \R@`#
struts自动加载的一个配置文件列表 n!.=05OtX
Yo1]HG(kXB
struts.configuration.xml.reload d/T&J=
Whether to reload the XML configuration or not (/0dtJ
是否加载xml配置(true,false) W"*2,R[}%
H2oxD$s
struts.continuations.package !-N!Bt8;
The package containing actions that use Rife continuations qe'ssX;
含有actions的完整连续的package名称 )7]yzc
SuB8mPn
struts.custom.i18n.resources gTgoS:M"_O
Location of additional localization properties files to load ,2rfN"o
加载附加的国际化属性文件(不包含.properties后缀) h1"|$
C=|8C70[%N
struts.custom.properties { =\Fc`74
Location of additional configuration properties files to load B;F~6i
加载附加的配置文件的位置 :h |]j[2p
|V4<eF-0S
$.t>* Bq
struts.devMode mBJr*_p
Whether Struts is in development mode or not R8:5N3Fx
是否为struts开发模式 jV9oTH-
qp)Wt6 k?
struts.dispatcher.parametersWorkaround BVj(Q}f8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic liG|#ny{
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) sa&`CEa
O_ZYm{T[7
struts.enable.DynamicMethodInvocation :8j7}'
Allows one to disable dynamic method invocation from the URL p!8phS#iP
允许动态方法调用 Xtfs)"
+Z2XP76(4A
struts.freemarker.manager.classname x;sc?5_`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u#rbc"
org.apache.struts2.views.freemarker.FreemarkerManager接口名 a|=^
vG.KSA
struts.i18n.encoding
BdiV
The encoding to use for localization messages _yUYEq<`
国际化信息内码 f1v4h[)-
<YtjE!2
struts.i18n.reload 52 Qr
Whether the localization messages should automatically be reloaded #AB5}rPEI
是否国际化信息自动加载 ~,ozhj0f/
+}M3O]?4
struts.locale '<YBoU{e*
The default locale for the Struts application 79cM_O
默认的国际化地区信息 Ncsh{.
;9WUt,R
struts.mapper.class W7b
m}JHn
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $2}#):`
org.apache.struts2.dispatcher.mapper.ActionMapper接口 JB].ht
@{q<"hT
struts.multipart.maxSize !zx8I7e4
The maximize size of a multipart request (file upload) *!JB^5(H
multipart请求信息的最大尺寸(文件上传用) L@/IyQ[H1
5-$D<}Z
struts.multipart.parser b=1E87i@W
The org.apache.struts2.dispatcher.multipart. \lm]G7h
MultiPartRequest parser implementation for a multipart request (file upload) @tY]=pqn_
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'fGKRd|)
UOf\pG
7n.Oem
struts.multipart.saveDir .gmS1ju
The directory to use for storing uploaded files +0z7}u\x
设置存储上传文件的目录夹 /5/gnpC
&Jb\}c}
struts.objectFactory dr}PjwW%
The com.opensymphony.xwork2.ObjectFactory implementation class PZJ9f8V
com.opensymphony.xwork2.ObjectFactory接口(spring) IQ_s]b;z
c AO:fb7
struts.objectFactory.spring.autoWire $-Ex
g*i
Whether Spring should autoWire or not }zf!mlk
是否自动绑定Spring &mmaoWR
5qW>#pTFVV
struts.objectFactory.spring.useClassCache t"YsIOT:O"
Whether Spring should use its class cache or not !OY}`a(z
是否spring应该使用自身的cache tE{M
e2NK7
struts.objectTypeDeterminer v\4<6Z:4
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *9$SFe|&n:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .,p=e$x]
#"rK1Z
struts.serve.static.browserCache ~=iH*AQR
If static content served by the Struts filter should set browser caching header properties or not K)mQcB-"?
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h*C!b?:"
)MK$E,W
struts.serve.static Ze8.+Ee
Whether the Struts filter should serve static content or not x51R:x(p
是否struts过滤器应该提供静态内容 oPr`SYB
t1o
6;rK
struts.tag.altSyntax Z:7eroZP
Whether to use the alterative syntax for the tags or not B+U:=591
是否可以用替代的语法替代tags WEe7\bWF
4F
G0'J&hw
struts.ui.templateDir o.A:29KoU
The directory containing UI templates SU4i'o
UI templates的目录夹 ]#^v754X^T
]S[/a
struts.ui.theme .4[3r[
The default UI template theme 9l&q}
默认的UI template主题 gee~>l
m<-!~ ew
struts.url.http.port 4jC)"tch
The HTTP port used by Struts URLs h2f8-}fsq
设置http端口 I2}eFz&FE
?@,EGY<
struts.url.https.port Fc5t,P
The HTTPS port used by Struts URLs O_a^|ln&
设置https端口 ll4CF}k
:R=6Ku>
struts.url.includeParams -wiQd@X
The default includeParams method to generate Struts URLs ;[R6rVHe{
在url中产生 默认的includeParams r4X}U|s!0
4k@n5JNa
>d
p/
struts.velocity.configfile reh{jMC
The Velocity configuration file path Dk^AnMx%_
velocity配置文件路径 0Q&(j7`^@
r5S/lp+Y+N
struts.velocity.contexts ;Go^)bN
;
List of Velocity context names S\8v)|Pr
velocity的context列表 eN,9N]K
ga%\n!S
O8$~dzf,2
struts.velocity.manager.classname w=WF$)ZU
org.apache.struts2.views.velocity.VelocityManager implementation class Uc {m##!
org.apache.struts2.views.velocity.VelocityManager接口名 8R3{YJ6@T
xt?-X%oY8
struts.velocity.toolboxlocation .6C/,rQ?c
The location of the Velocity toolbox KoNu{TJ
velocity工具盒的位置 7\2I>W
struts.xslt.nocache 8.B'O>\T
Whether or not XSLT templates should not be cached }^Q:Q\
是否XSLT模版应该被缓存 Mt-r`W3 q