struts2的struts.properties配置文件详解 U- )i+}Ng
8JmFi
struts.action.extension
Uf}\p~;
The URL extension to use to determine if the request is meant for a Struts action C4TE-OM8
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 s(X;Eha
P(F+f`T
struts.configuration |$5[(6T|
The org.apache.struts2.config.Configuration implementation class #9K-7je;j
org.apache.struts2.config.Configuration接口名 ME'|saP
_6ay-u
struts.configuration.files RV@*c4KvO+
A list of configuration files automatically loaded by Struts lz1wO5%h
struts自动加载的一个配置文件列表 "*G.EiLq
mZd ,
9
struts.configuration.xml.reload Kq i4hK
Whether to reload the XML configuration or not AU2i%Q!
是否加载xml配置(true,false) kbM3
5mb]Q)f9-
struts.continuations.package EkziAON
The package containing actions that use Rife continuations jH_JmYd
含有actions的完整连续的package名称 $56,$K`H
xyI}y(CN1
struts.custom.i18n.resources /7gOSwY
Location of additional localization properties files to load q$=#A7H>3)
加载附加的国际化属性文件(不包含.properties后缀) (<^ yqH?
w*R$o
struts.custom.properties 8By|@LO
Location of additional configuration properties files to load eq UME
加载附加的配置文件的位置 h:9Zt0,
#8)*1?
;Iq/l%vX
struts.devMode l+V>]?j
Whether Struts is in development mode or not ~6p[El#tS
是否为struts开发模式 JH7<
o"*AtGR+"
struts.dispatcher.parametersWorkaround 812$`5l
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t. ;LnrY
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~?(N
rS;Dmm
struts.enable.DynamicMethodInvocation 7Hs%Cc"
Allows one to disable dynamic method invocation from the URL S\;V4@<Kn
允许动态方法调用 1YH+d0UGn
MG.`
r{5
struts.freemarker.manager.classname w!D|]LoE
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 55z]&5N
org.apache.struts2.views.freemarker.FreemarkerManager接口名 9Q"'"b*?z
>3Eo@J,?d
struts.i18n.encoding I"GB<oB
The encoding to use for localization messages EVGt 5z
国际化信息内码 +llR204
!jTcsN%
struts.i18n.reload Y=Kc'x[,Zj
Whether the localization messages should automatically be reloaded "men
是否国际化信息自动加载 ga`3 (
.X;3,D[w
struts.locale /{&tY:;m
The default locale for the Struts application bD?VU<)3
默认的国际化地区信息 R~PA1wDZ
#)nSr
struts.mapper.class aeD ;5VV
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sfNE68I2
org.apache.struts2.dispatcher.mapper.ActionMapper接口 !4X
f~P
I"ok&^t^}
struts.multipart.maxSize f.9SB
The maximize size of a multipart request (file upload) p9x(D/YP0
multipart请求信息的最大尺寸(文件上传用) 1]p ZrBh"E
:>C2gS@
struts.multipart.parser 0.@&_XTPl
The org.apache.struts2.dispatcher.multipart. "/wyZ
MultiPartRequest parser implementation for a multipart request (file upload) Y/*mUS[oa
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N(Tz%o4
@"^0%/2-
hbY5l}\5
struts.multipart.saveDir N'GeHByIT
The directory to use for storing uploaded files |EJD3&
设置存储上传文件的目录夹 BW$"`T@c6~
(^Y~/
struts.objectFactory i uF*.hc,%
The com.opensymphony.xwork2.ObjectFactory implementation class IhVO@KJI
com.opensymphony.xwork2.ObjectFactory接口(spring) vwxXgk
GJ_7h_4
struts.objectFactory.spring.autoWire QD0"rxZJ
Whether Spring should autoWire or not ?M\{&mlF
是否自动绑定Spring *=V~YF:Qb
#
mV{#B=
struts.objectFactory.spring.useClassCache 9[.8cg*
Whether Spring should use its class cache or not ,)vDeU
是否spring应该使用自身的cache f}9zgWU
f,kZ\Ia'r
struts.objectTypeDeterminer ']2E {V
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mjW8Q\D
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 aWR}R>E
(KDD e}f
struts.serve.static.browserCache J1C3&t}
If static content served by the Struts filter should set browser caching header properties or not gaZu;t2u
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -;^j:L{
)-a'{W/t
struts.serve.static &E.^jR~*
Whether the Struts filter should serve static content or not ewctkI$,5
是否struts过滤器应该提供静态内容 +JjW_Rl?=V
n[lJLm^(_C
struts.tag.altSyntax x-^`~p
Whether to use the alterative syntax for the tags or not z=q3Zo
是否可以用替代的语法替代tags iO|se:LY<
iOW#>66d
struts.ui.templateDir Ab{ K<:l
The directory containing UI templates )b)-ZS7
UI templates的目录夹 xc=b
|:A
n>BkTaI
struts.ui.theme MkfBuW;)
The default UI template theme U:^PC
x`
默认的UI template主题 --$
4Q(#
old(i:2
struts.url.http.port : y%d
The HTTP port used by Struts URLs x!5'`A!W%
设置http端口 Vl&?U
,-8"R`UI8
struts.url.https.port DtXrWS/
The HTTPS port used by Struts URLs VY
| _dk
设置https端口 t*Sa@$p
3G}x;Cp\D
struts.url.includeParams 1g8_Xe4
The default includeParams method to generate Struts URLs nn@-W]
在url中产生 默认的includeParams "_-Po^u=r
oX30VfT
~*z% e*EL
struts.velocity.configfile RtTJ5@V(
The Velocity configuration file path |$8~?7Jv
velocity配置文件路径 c;Pe/ d
7z JRJ*NB
struts.velocity.contexts ^c-
List of Velocity context names (l^3Z3zf&
velocity的context列表 ,,%i;
gQ Fjr_IS#
7%Gwc?[x
struts.velocity.manager.classname J??-j
org.apache.struts2.views.velocity.VelocityManager implementation class ;z}i-cNae
org.apache.struts2.views.velocity.VelocityManager接口名 B+\3-q
D~S<U
struts.velocity.toolboxlocation ^o3"#r{:+
The location of the Velocity toolbox Ve}(s?hU5
velocity工具盒的位置 _(%d(E2?
struts.xslt.nocache <D<4BnZ(
Whether or not XSLT templates should not be cached [ 9 {*94M
是否XSLT模版应该被缓存 I,>-t GK