struts2的struts.properties配置文件详解 knzo 6
oA:`=f%\
struts.action.extension =EH/~NGk
The URL extension to use to determine if the request is meant for a Struts action iA`.y9'2
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I.>8p]X
#s#BYbF
struts.configuration 0W_u"UY$c
The org.apache.struts2.config.Configuration implementation class h`eHoKJ#w
org.apache.struts2.config.Configuration接口名 ~Y;Z5e=
2|(lKFkQ
struts.configuration.files <]_[o:nOP
A list of configuration files automatically loaded by Struts &T ^bv*P
struts自动加载的一个配置文件列表 \IEuu^
W^c /l*>v
struts.configuration.xml.reload " YOl6n
Whether to reload the XML configuration or not t!u>l
是否加载xml配置(true,false) Ls3r( Tf
}AiF 7N0
struts.continuations.package ;!7M<T$&
The package containing actions that use Rife continuations k9NHdi7&2
含有actions的完整连续的package名称 ??LE0i
ELg$tc
struts.custom.i18n.resources K( ?p]wh
Location of additional localization properties files to load <(xro/
加载附加的国际化属性文件(不包含.properties后缀) ux17q>G
[M:<!QXw
struts.custom.properties 83aWMmA(1
Location of additional configuration properties files to load /^gu&xnS
加载附加的配置文件的位置 NF-@Q@
lS!O(NzqE'
o{l]n*
struts.devMode Jp_ :.4
Whether Struts is in development mode or not cFq2 6(e
是否为struts开发模式 9%0^fhrJ
hM=X#
;
struts.dispatcher.parametersWorkaround }^b
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic sheCwhV
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5Q8s{WQ
2r]o>X
struts.enable.DynamicMethodInvocation F[)tg#}@G
Allows one to disable dynamic method invocation from the URL nyOmNvZf
允许动态方法调用 QBfo=9[=e
uU-1;m#N?
struts.freemarker.manager.classname -[h|*G.J
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^7t1'A8e<
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Q~rE+?n9F
g;7u-nP
struts.i18n.encoding _kBx2>qQ
The encoding to use for localization messages ZG~d<kM&8s
国际化信息内码 glBS|b$\:
`joyHKZI.
struts.i18n.reload a6;5mx
Whether the localization messages should automatically be reloaded F%O+w;J4
是否国际化信息自动加载 qG]0z_dPE~
58eO|c(
struts.locale lvLz){
The default locale for the Struts application aB`jFp-
默认的国际化地区信息 ,pVe@ d'
!!cN4X
struts.mapper.class ocZ^rqo2w
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d'b9.ki\
org.apache.struts2.dispatcher.mapper.ActionMapper接口 2R;#XmKS
o*oFCR]j
struts.multipart.maxSize @18}'k
The maximize size of a multipart request (file upload) 10bv%ZX7
multipart请求信息的最大尺寸(文件上传用) fX>y^s?y
g0-rQA
struts.multipart.parser h
R6Pj"@0
The org.apache.struts2.dispatcher.multipart. Nu'ox. V
MultiPartRequest parser implementation for a multipart request (file upload) N:Ir63X*#
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) BPVOBL@
s%RG_"l
\l`{u)V
struts.multipart.saveDir xLgZtLt9
The directory to use for storing uploaded files Tk`|{Ph0
设置存储上传文件的目录夹 i)$<j!L
n9-WZsc1
struts.objectFactory JU)k+:\a
The com.opensymphony.xwork2.ObjectFactory implementation class 4U u`1gtz
com.opensymphony.xwork2.ObjectFactory接口(spring) 432]yhQ
wxT(ktE
struts.objectFactory.spring.autoWire tk>J
mcTw
Whether Spring should autoWire or not v2="j
是否自动绑定Spring 8# x7q>?
b/
h#{'
struts.objectFactory.spring.useClassCache [khXAf1{Q
Whether Spring should use its class cache or not i?7?I
是否spring应该使用自身的cache : LT'#Q8
77ztDQDtM
struts.objectTypeDeterminer G^eXJusOv
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0Q)YZ2
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b`F]oQ_*
\xQu*M:!
struts.serve.static.browserCache z\woTL6D]
If static content served by the Struts filter should set browser caching header properties or not Ys&)5j-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9Hd_sNUu\
e*U6^Xex
struts.serve.static L|6I
Whether the Struts filter should serve static content or not E]=>@EX
是否struts过滤器应该提供静态内容 aPQxpK?
?-)v{4{s
struts.tag.altSyntax &So1;RR,_M
Whether to use the alterative syntax for the tags or not *N"CV={No
是否可以用替代的语法替代tags W!Fc60>p@f
n|KYcU#
struts.ui.templateDir vo%"(!
The directory containing UI templates L0GQH;Y,h
UI templates的目录夹 nd7g8P9p
`*D"=5G+
struts.ui.theme PC|ul{[*}
The default UI template theme +w"?q'SnF
默认的UI template主题 `*U$pg
/ :6|)AW.{
struts.url.http.port 0m"Ni:KEf
The HTTP port used by Struts URLs Rd|8=`)
设置http端口 VqxK5
sx}S,aIU
struts.url.https.port
SvrUXf
The HTTPS port used by Struts URLs JbQY{z!
设置https端口 DUh\x>^
OA(.&5]
struts.url.includeParams <HzL%DX
The default includeParams method to generate Struts URLs ?_cOU@n
在url中产生 默认的includeParams 8/&4l,M5
Ks@cwY
&/WE{W
struts.velocity.configfile u05Yy&(f
The Velocity configuration file path r a>2<
velocity配置文件路径 -V;BkE76
v^vi *c
struts.velocity.contexts aT(_c/t.
List of Velocity context names D W^Zuu/)
velocity的context列表 S(?A3 H
w( _42)v]g
$/B~ bJC
struts.velocity.manager.classname :tI
F*pC
org.apache.struts2.views.velocity.VelocityManager implementation class /zoy,t-i
org.apache.struts2.views.velocity.VelocityManager接口名 qb/}&J7+
Bc[~'gn
struts.velocity.toolboxlocation ] _5b
The location of the Velocity toolbox 7CvBE;i
velocity工具盒的位置 5j6`W?|q
struts.xslt.nocache 2E[7RBFY+\
Whether or not XSLT templates should not be cached WmN(
(
是否XSLT模版应该被缓存 /XEW]/4