struts2的struts.properties配置文件详解 BF@5&>E
f7Df %&d
struts.action.extension 7{An@hNh
The URL extension to use to determine if the request is meant for a Struts action LZc$:<J<6
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WfDX"rA
M,t*nG
struts.configuration C3\E.u?
The org.apache.struts2.config.Configuration implementation class "7yNKO;W
org.apache.struts2.config.Configuration接口名 &`yOIX-H_
Gh2Q$w:
struts.configuration.files @<OO
A list of configuration files automatically loaded by Struts H\| ]!8w5Z
struts自动加载的一个配置文件列表 V'"I9R'1
K/2. 1o;9
struts.configuration.xml.reload 4g7ja
Whether to reload the XML configuration or not ran^te^Ks(
是否加载xml配置(true,false) WfRfx#MMt
S~k*r{?H})
struts.continuations.package 6hM]%
The package containing actions that use Rife continuations sp=OT-Pfp
含有actions的完整连续的package名称 !0ce kSesr
Y8%0;!T
struts.custom.i18n.resources |/;U)M
Location of additional localization properties files to load Q'|0?nBOY
加载附加的国际化属性文件(不包含.properties后缀) OpK.Lsd0y
Oz&+{ c
struts.custom.properties p"[O#*p
Location of additional configuration properties files to load kYxl1nv
加载附加的配置文件的位置 rps(Jos_~
yOWOU`y?
)_77>f%
struts.devMode Pknc[h},
Whether Struts is in development mode or not |As2"1_f
是否为struts开发模式 nw0L1TP/J
s!#HZK
struts.dispatcher.parametersWorkaround ?h!t$QQ!M
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -]Q(~'a
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b4Cfd?'
d/B'[Ur
struts.enable.DynamicMethodInvocation _)KY
Allows one to disable dynamic method invocation from the URL dh^+l;!L
允许动态方法调用 IV{FH&t^T"
[dj5$l|
struts.freemarker.manager.classname u R\m`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PMgQxM*h
org.apache.struts2.views.freemarker.FreemarkerManager接口名 IS[Vap:
{J~(#i
k
struts.i18n.encoding g ?afX1Sg
The encoding to use for localization messages g.x=pt
国际化信息内码 2yN%~C?$
2wx!Lpr<i_
struts.i18n.reload P</s)"@
Whether the localization messages should automatically be reloaded _+twqi
是否国际化信息自动加载 60GFVF]'2
{~"7vkc+
struts.locale {r={#mO;p
The default locale for the Struts application E@w[
默认的国际化地区信息 'h-3V8m^e
J=UZ){c>:.
struts.mapper.class d5DP^u
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $]@O/[
org.apache.struts2.dispatcher.mapper.ActionMapper接口 gbm0H-A:*
}B y)y;~
struts.multipart.maxSize 3{N\A5~
The maximize size of a multipart request (file upload) [E>R.Oe
multipart请求信息的最大尺寸(文件上传用) fO].e"}
]7a;jNQu
struts.multipart.parser [6D>f?z
The org.apache.struts2.dispatcher.multipart. FU%~9NKX
MultiPartRequest parser implementation for a multipart request (file upload) GR,J0LT
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Aoj6k\YX
' _B_&is
K7IyCcdB
struts.multipart.saveDir Kb}MF9?:e
The directory to use for storing uploaded files K~c^*;F
设置存储上传文件的目录夹 6Wj@r!u
JE0?@PI$
struts.objectFactory x6LjcRS|
The com.opensymphony.xwork2.ObjectFactory implementation class KNy`Lj)VPY
com.opensymphony.xwork2.ObjectFactory接口(spring) Hu[]h]
3bWum
struts.objectFactory.spring.autoWire xE%O:a?S
Whether Spring should autoWire or not `f@{Vcr%i
是否自动绑定Spring %drJ p6n%
3&es]1b
struts.objectFactory.spring.useClassCache }wG,BB %N
Whether Spring should use its class cache or not wGPotPdE2
是否spring应该使用自身的cache EMLx?JnP
>):m-I
struts.objectTypeDeterminer mA&=q_gS
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W.^Ei\w/t
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Cz_AJ-WR
XE9)c
struts.serve.static.browserCache <}d/v_+pnh
If static content served by the Struts filter should set browser caching header properties or not sf`PV}a1
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;4,'y
tWm> j
struts.serve.static huz86CO
Whether the Struts filter should serve static content or not T?>E{1pS
是否struts过滤器应该提供静态内容 PdT83vOCE
5O&d3;p'
struts.tag.altSyntax [FGgkd}
Whether to use the alterative syntax for the tags or not _R)&k%i}
是否可以用替代的语法替代tags q0Xoj__c!A
_z q)0\
struts.ui.templateDir 1!!\+
c2*
The directory containing UI templates RU6KIg{H
UI templates的目录夹 Jy9bY
r*chL&7
struts.ui.theme dLZjB(0eO
The default UI template theme 0 h22V$
默认的UI template主题 QZ&4:K+{
Qm<
gb+
struts.url.http.port +@0TMK,P
The HTTP port used by Struts URLs yO=p3PV d
设置http端口 <;%0T
xK|U
E/ijvuO
struts.url.https.port rj 3YTu`
The HTTPS port used by Struts URLs 4.8nY\_WF
设置https端口 {7qA &c=
>8|+%pK8<
struts.url.includeParams `fz,Lh*v
The default includeParams method to generate Struts URLs 2JVxzj<~`
在url中产生 默认的includeParams :j@8L.<U
(3VGaUlx
),=@q+{E{
struts.velocity.configfile V5AW&kfd
The Velocity configuration file path \^&
velocity配置文件路径 ;|<(9u`
&1_U1
struts.velocity.contexts FPF6H puV
List of Velocity context names g`n;R
velocity的context列表 M'q'$)e
G+VD8]!K1
]*3:DU
struts.velocity.manager.classname sK&,):"]R
org.apache.struts2.views.velocity.VelocityManager implementation class x`2| }AP(
org.apache.struts2.views.velocity.VelocityManager接口名 `}gdN};
4=xq:Tf
struts.velocity.toolboxlocation "b]#MO}P
The location of the Velocity toolbox FQROK4x%"
velocity工具盒的位置 o2aM#Q
struts.xslt.nocache 94Ud@F9d5
Whether or not XSLT templates should not be cached H8f]}
是否XSLT模版应该被缓存 78d_io}w