struts2的struts.properties配置文件详解 s5@BVD'}E
%HG+|)b
struts.action.extension .:j{d}p}
The URL extension to use to determine if the request is meant for a Struts action q0+N#$g#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -NwG'
U~
` 7iA?;
struts.configuration %Y ZCdS
The org.apache.struts2.config.Configuration implementation class fxcE1=a
org.apache.struts2.config.Configuration接口名 FvT4?7-
NRx 7S9W
struts.configuration.files v)du]
A list of configuration files automatically loaded by Struts 9Ad%~qciY
struts自动加载的一个配置文件列表 1!1JT;gG^9
|Gz<I
struts.configuration.xml.reload ([q>.[WbH]
Whether to reload the XML configuration or not V4Rs
是否加载xml配置(true,false) { }/
#-B<u-
struts.continuations.package %6cr4}Zm}
The package containing actions that use Rife continuations `C>h]H(
含有actions的完整连续的package名称 pqO3(2F9
bDvGFSAH
struts.custom.i18n.resources j>JBZ#g
Location of additional localization properties files to load d8:
$ll
加载附加的国际化属性文件(不包含.properties后缀) }6[jJ`=gOx
_|C3\x1c
struts.custom.properties h/\v+xiF
Location of additional configuration properties files to load y05!-G:Y\
加载附加的配置文件的位置 3J"`mQ
uN<=v&]q
_ooHB>sH
struts.devMode t[!,puZc#
Whether Struts is in development mode or not D/=05E%[81
是否为struts开发模式 @M\JzV4 A[
js"Yh
struts.dispatcher.parametersWorkaround J0IKI,X.
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _W(xO
|,M
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R WY>`.su
=r/K#hOR\J
struts.enable.DynamicMethodInvocation 6E) T;R(@
Allows one to disable dynamic method invocation from the URL co\?SgE35
允许动态方法调用 TYuP
EVEXZ
ph6/+[:
struts.freemarker.manager.classname qY-aR;
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :/(G#ZaV
org.apache.struts2.views.freemarker.FreemarkerManager接口名 IA0vSF:
esSj
3E
struts.i18n.encoding mfZbo#KS#v
The encoding to use for localization messages |iJz[%
国际化信息内码 (Yj6|`
Q)aoc.f!v
struts.i18n.reload :j+E]|d(~6
Whether the localization messages should automatically be reloaded vltE2mb
是否国际化信息自动加载 zk$h71<{.
{($m LfC4
struts.locale 2+pw%#fe
The default locale for the Struts application )b nGZ8h99
默认的国际化地区信息 \Nik`v*Pd
qsp3G7\'=
struts.mapper.class vhOh3
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E~q3o*
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ds]
.Ae
Eo$l-Hl5=
struts.multipart.maxSize T+XcEI6w
The maximize size of a multipart request (file upload) ?T73BL=
multipart请求信息的最大尺寸(文件上传用) eW.qMx#:od
z&!o1uq
struts.multipart.parser JL_(%._J
The org.apache.struts2.dispatcher.multipart. `GqF/?i
MultiPartRequest parser implementation for a multipart request (file upload) XzV>q~I3|E
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) hRuiuGC
!m\By%(
6p;Pf9
f
struts.multipart.saveDir ;0_T\{H"nR
The directory to use for storing uploaded files BpA7
z /
设置存储上传文件的目录夹 TCzz]?G]la
IJ.H/l}h
struts.objectFactory `ci
P
The com.opensymphony.xwork2.ObjectFactory implementation class Onqapm0
com.opensymphony.xwork2.ObjectFactory接口(spring) <8%+-[(
vH6(p(l
struts.objectFactory.spring.autoWire >7a
ENKOg:
Whether Spring should autoWire or not fPN/Mxu
是否自动绑定Spring r|Uz?
J-=fy^S5
struts.objectFactory.spring.useClassCache :D}?H@(69
Whether Spring should use its class cache or not mK M[[l&A
是否spring应该使用自身的cache 5Qg*j/z?
nS$4[!0
struts.objectTypeDeterminer TS=%iMa
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class zk70D_}L
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vyc<RjS_x
d<?Zaehe\
struts.serve.static.browserCache :OU(fz]
If static content served by the Struts filter should set browser caching header properties or not T:Q+ Z }v+
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "nJMS6HJ[
uR")@Tc
struts.serve.static sfG9R"
Whether the Struts filter should serve static content or not LU*mR{B
是否struts过滤器应该提供静态内容 vIi&D;
QN;NuDHN
struts.tag.altSyntax &VjPdu57
Whether to use the alterative syntax for the tags or not +Rd\*b
是否可以用替代的语法替代tags 3mE8tTA$R
8fvKVS
struts.ui.templateDir 2hntQ1[
The directory containing UI templates Mf"(P.GIS
UI templates的目录夹 =S^ vIo)
kdA]gpdw
struts.ui.theme 1jSmTI d
The default UI template theme jz'%(6#'gW
默认的UI template主题 ]Gm&Kn>
[PrJf"Z "
struts.url.http.port -[=@'NP
The HTTP port used by Struts URLs LUx'Dm"
设置http端口 T}p|_)&y
Rp
zuSh
struts.url.https.port 6EWCJ%_
The HTTPS port used by Struts URLs 9[E/^
设置https端口 WFug-#;e
V!e`P
struts.url.includeParams DS|x*w'I
The default includeParams method to generate Struts URLs 7}=MVp] )S
在url中产生 默认的includeParams /$8& r
UQ e1rf
GYT0zMMf
struts.velocity.configfile y#ON=8l
The Velocity configuration file path _n*gj-
velocity配置文件路径 '+|uv7|+v
<+ <o
X"I
struts.velocity.contexts @ bvWqMa
List of Velocity context names {dl@#Tu
velocity的context列表 EA:_PBZ
s0Y7`uD^
!vr
A\d
struts.velocity.manager.classname W70BRXe04D
org.apache.struts2.views.velocity.VelocityManager implementation class odeO(zuU
org.apache.struts2.views.velocity.VelocityManager接口名 ~8Ef`zL
@$ )C pg
struts.velocity.toolboxlocation i[U=-4 J
The location of the Velocity toolbox cJ,`71xop,
velocity工具盒的位置 "g!/^A!!
struts.xslt.nocache 9zehwl]~
Whether or not XSLT templates should not be cached kx0w?A8-
是否XSLT模版应该被缓存 /{ 8 .Jcx$