struts2的struts.properties配置文件详解 s<LF=qGu
k2muHKBlk
struts.action.extension jD9^DzFx
The URL extension to use to determine if the request is meant for a Struts action o7E?A
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 dM8`!~#&PI
85YE6^y
struts.configuration %{g<{\@4(;
The org.apache.struts2.config.Configuration implementation class Y##ft Q
org.apache.struts2.config.Configuration接口名 5O<7<OB
{j.5!Nj]B
struts.configuration.files <[Ae0UK
A list of configuration files automatically loaded by Struts RSXYz8{
struts自动加载的一个配置文件列表 yZ=wT,Y
`=8g%O|T
struts.configuration.xml.reload s,O:l0
Whether to reload the XML configuration or not Q1? !,a
是否加载xml配置(true,false) Nw'i;}0v7r
e*.l6H/B
struts.continuations.package 6VpT*,2d~
The package containing actions that use Rife continuations ^6`"f
含有actions的完整连续的package名称 f}b= FV{
21x?TZa
struts.custom.i18n.resources -Zd0[& ']
Location of additional localization properties files to load 3
4CqLPg8
加载附加的国际化属性文件(不包含.properties后缀) {(#Dou
H'Q4IRT
struts.custom.properties 5%j
!SVW
Location of additional configuration properties files to load `)$'1,]u
加载附加的配置文件的位置 G4][`C]8c
5]DgfwX
-t2bHhG
struts.devMode ?]SSmZpk
Whether Struts is in development mode or not &u0JzK
是否为struts开发模式 HTuv_kE
4`Qu+&4J
struts.dispatcher.parametersWorkaround $Kn{x!,"(
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 86$9)UI
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +c!v%uX
C;#vW FE
struts.enable.DynamicMethodInvocation $lmGMljF
Allows one to disable dynamic method invocation from the URL Hy~kHBIL
允许动态方法调用 Qvt
j4>1a
struts.freemarker.manager.classname Y S )Q#fP
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class l1XA9>n
org.apache.struts2.views.freemarker.FreemarkerManager接口名 zI77#AUM
8TIc;'bRM
struts.i18n.encoding VuZd
The encoding to use for localization messages (;-<
@~2
国际化信息内码 2.6%?E]
dq[X:3i
struts.i18n.reload gSS2)Sd}
Whether the localization messages should automatically be reloaded 9BgR@b
是否国际化信息自动加载 5> M6lwS
v?Q&06PMRc
struts.locale -:]_DbF
The default locale for the Struts application ~LqjWU
默认的国际化地区信息 v8Gm;~
nS'hdeoW
struts.mapper.class @*'$QD,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 53X H|Ap
org.apache.struts2.dispatcher.mapper.ActionMapper接口 0w[#`
60?/Z2w5
struts.multipart.maxSize 2;N)>[3*J
The maximize size of a multipart request (file upload) *CG-F=
multipart请求信息的最大尺寸(文件上传用) W,'30:#Fr7
H|&[,&M>
struts.multipart.parser w3oh8NRs_
The org.apache.struts2.dispatcher.multipart. Ux5pw
MultiPartRequest parser implementation for a multipart request (file upload) cC@B\Q
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) k4Ed 7T-
<RQ\nU
`{BY
{
struts.multipart.saveDir = rDoXm
The directory to use for storing uploaded files co^kP##Y
设置存储上传文件的目录夹 H]2cw{2
jinDKJ,n;
struts.objectFactory \=3V]7\&
The com.opensymphony.xwork2.ObjectFactory implementation class .
Z 93S|q
com.opensymphony.xwork2.ObjectFactory接口(spring) QEo
i9@3
Jb+cC)(
struts.objectFactory.spring.autoWire TV#X@jQ
Whether Spring should autoWire or not rbfP6t:c3
是否自动绑定Spring "i3wc&9!?W
^]_[dqd
struts.objectFactory.spring.useClassCache }cUq1r-bW
Whether Spring should use its class cache or not ghtvAG
是否spring应该使用自身的cache stn/
.;#Wf@V
struts.objectTypeDeterminer @T>\pP]o
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >S\D+1PV
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口
fX"cQ&
%dA6vHI,
struts.serve.static.browserCache h8# 14?
If static content served by the Struts filter should set browser caching header properties or not H4l*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -js:R+C528
#w_cos[I
struts.serve.static 3sUTdCnNf
Whether the Struts filter should serve static content or not f'501MJu
是否struts过滤器应该提供静态内容 T \d-r#{
a B(_ZX'L
struts.tag.altSyntax 4#j W}4C{
Whether to use the alterative syntax for the tags or not 9p|;Hh:
是否可以用替代的语法替代tags Z{<& 2*
IpX.ube
struts.ui.templateDir [N]5)n
The directory containing UI templates S3Q^K.e?
UI templates的目录夹 `1;m:,9
@APv?>$)
struts.ui.theme Ll4/P[7:?
The default UI template theme =QG@{?JTl
默认的UI template主题 QnHb*4<
4KH8dau.fF
struts.url.http.port Vqr#%.N
The HTTP port used by Struts URLs `xb\)
设置http端口 4}C^s\?z
,|:TML
struts.url.https.port `v;9!ReZV
The HTTPS port used by Struts URLs C%#%_
"N
设置https端口 zvJQ@i"Z
Yi?X|"\`
struts.url.includeParams %ae|4u#b
The default includeParams method to generate Struts URLs ddR*&.Y!a
在url中产生 默认的includeParams M1UabqQ
b8Bf,&:ys
B4fMD]
struts.velocity.configfile (6b*JQ^^
The Velocity configuration file path uO=yQ&
velocity配置文件路径 E]T>m!6
{,
+,:w7
struts.velocity.contexts zn!H&!8&
List of Velocity context names w +pK=R
velocity的context列表 =E E>QM
R<* c
k9]M=eO
struts.velocity.manager.classname H[H+s!)"
org.apache.struts2.views.velocity.VelocityManager implementation class bA/,{R
org.apache.struts2.views.velocity.VelocityManager接口名 /=o~7y
Pn&