struts2的struts.properties配置文件详解 {F6dSF`
;ko[(eFN@
struts.action.extension MLD>"W
The URL extension to use to determine if the request is meant for a Struts action "kBqY+:Cn
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P2Qyz}!wo
r{B,uj"
struts.configuration fByh";<`P
The org.apache.struts2.config.Configuration implementation class &kjwIg{
org.apache.struts2.config.Configuration接口名 fzFvfMAU
@FdCbPl$
struts.configuration.files JfP\7
A list of configuration files automatically loaded by Struts @+\S!o3m
struts自动加载的一个配置文件列表 8} ?Y;>s\
)lDIzLp
struts.configuration.xml.reload L^ #< HQ
Whether to reload the XML configuration or not NzeI/f3K5
是否加载xml配置(true,false) Y:"v=EhB
]D) 'I`
struts.continuations.package m!#)JFe67
The package containing actions that use Rife continuations M$]O=2h+2
含有actions的完整连续的package名称 B`?N0t%X
rv%ye
H
struts.custom.i18n.resources x#j\"$dla
Location of additional localization properties files to load *n*N|6+
加载附加的国际化属性文件(不包含.properties后缀) PZ!dn%4jy
yhtvr5z1
struts.custom.properties bhqq
Location of additional configuration properties files to load I~]Q55
加载附加的配置文件的位置 (XG[_
Q+!0)pG5#
R<lNk<
struts.devMode ]zvVY:v
Whether Struts is in development mode or not +>!B(j\gx
是否为struts开发模式 5e/qgI)M5
l@tyg7CwY
struts.dispatcher.parametersWorkaround MCi` TXr
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^0s\/qyqm
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) J%\~<_2ny
x'@32gv
struts.enable.DynamicMethodInvocation +i`Q 7+d
Allows one to disable dynamic method invocation from the URL -#S)}NEn
允许动态方法调用 CEX}`I*-
Nr]8P/[~
struts.freemarker.manager.classname )pZekh]v
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2%{YYT
org.apache.struts2.views.freemarker.FreemarkerManager接口名 $['7vcB^
F[7Kw"~J
struts.i18n.encoding X@yr$3vC
The encoding to use for localization messages _Vo)<--+I
国际化信息内码 'Wf?elB+
1A?\BJ"
struts.i18n.reload \=w'HZH#+
Whether the localization messages should automatically be reloaded 4j=<p@
是否国际化信息自动加载 V{T{0b"\U
h"PS-]:CD
struts.locale S7UZGGjTk
The default locale for the Struts application { p!_-sL
默认的国际化地区信息 "^9[OgE:
C?[a3rNH(
struts.mapper.class B|Fl,55
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class cZDxsd]
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]<8B-D?Z
%R.xS}
Q
struts.multipart.maxSize @ kJ0K
The maximize size of a multipart request (file upload) w*<Y$hnBzF
multipart请求信息的最大尺寸(文件上传用) [:nx);\
BLL]^qN;Y
struts.multipart.parser ^zaKO'KcV
The org.apache.struts2.dispatcher.multipart. |-(IJG#)
MultiPartRequest parser implementation for a multipart request (file upload) jJ*@5?A
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) XdGpW
z29qARiX
pK6e/eC
struts.multipart.saveDir m feMmKFu\
The directory to use for storing uploaded files HBh` 2Q
设置存储上传文件的目录夹 ggm2%|?X
*3_f&Y
struts.objectFactory e}'#Xv
The com.opensymphony.xwork2.ObjectFactory implementation class ^])e[RN7?n
com.opensymphony.xwork2.ObjectFactory接口(spring) zd*3R+>U'>
ocIt@#20K
struts.objectFactory.spring.autoWire #cj\~T.,,
Whether Spring should autoWire or not .1.J5>/n
是否自动绑定Spring 9^ >M>f"
9TVB<}0G
struts.objectFactory.spring.useClassCache SUH mBo"}
Whether Spring should use its class cache or not o~v_PD[S
是否spring应该使用自身的cache :W.jNV{e\F
0T9@,scY
struts.objectTypeDeterminer [F/^J|VMV
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ex`
xkZ+
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *'9)H0
gEr4zae
struts.serve.static.browserCache Si?$\H*:
If static content served by the Struts filter should set browser caching header properties or not >aEL;V=}P
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G3RrjWtO
[!1)mR
struts.serve.static Fw_
(q!
Whether the Struts filter should serve static content or not KqM! !
是否struts过滤器应该提供静态内容 May&@x/oMS
4meidKw]
struts.tag.altSyntax u(pdP"
Whether to use the alterative syntax for the tags or not \C]i|]tl
是否可以用替代的语法替代tags H+4=|mkQ
_\
.
struts.ui.templateDir <u/a`E?
The directory containing UI templates _4P;+Y
UI templates的目录夹 Q7,EY /
xT9Yes&
struts.ui.theme H-eEhI(;O
The default UI template theme u.Mqj"o\
默认的UI template主题 c%|vUAq*
p+, 1Fi
struts.url.http.port cQ8dc+ {
The HTTP port used by Struts URLs UI!6aVL.
设置http端口 _ Ry_K3K
v~^ks{
struts.url.https.port 6m4Te|
The HTTPS port used by Struts URLs rr |"r
设置https端口 |h5kg<Zgo
I3Lg?bZ
struts.url.includeParams \\=.6cg<K
The default includeParams method to generate Struts URLs CJzm}'NY
在url中产生 默认的includeParams s~S?D{!
NTqo`VWe
%x&F4U
struts.velocity.configfile dCB&c^
The Velocity configuration file path ^C!mCTL1N
velocity配置文件路径 K*_-5e
]e^R@w
struts.velocity.contexts :
@'fpN
List of Velocity context names mfXD1]<.
velocity的context列表 `.{U-U\
; D1FAz
5a'yXB}
struts.velocity.manager.classname H76E+AY
org.apache.struts2.views.velocity.VelocityManager implementation class n
vm^k
org.apache.struts2.views.velocity.VelocityManager接口名 mO#I nTO
}l~]b3@qu
struts.velocity.toolboxlocation %$Aqbd
The location of the Velocity toolbox t,RyeS/
velocity工具盒的位置 ./$
<J6-J
struts.xslt.nocache q1 H=/[a
Whether or not XSLT templates should not be cached 53B.2
4Tm
是否XSLT模版应该被缓存 S[vRw]*