struts2的struts.properties配置文件详解 K1-y[pS]E
r59BBW)M
struts.action.extension qmbhx9V
The URL extension to use to determine if the request is meant for a Struts action +J:wAmY4
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m2to94yh
zR }vw{
struts.configuration uSNlI78D
The org.apache.struts2.config.Configuration implementation class ~G8haN4
org.apache.struts2.config.Configuration接口名 -KiI&Q
A{\!nq_~N
struts.configuration.files &=v5M9GR]
A list of configuration files automatically loaded by Struts e1 P(-V
struts自动加载的一个配置文件列表 Wvwjj~HP2}
:&$WWv
struts.configuration.xml.reload Z(o]8*;Ai
Whether to reload the XML configuration or not w(R+p/RF
是否加载xml配置(true,false) S(hT3MAW
~{np G
struts.continuations.package QPp>%iE@
The package containing actions that use Rife continuations @s~*>k#"#
含有actions的完整连续的package名称 Ve\P ,.
hbTJXP~~?
struts.custom.i18n.resources (Z at|R.F
Location of additional localization properties files to load 4>te>[
加载附加的国际化属性文件(不包含.properties后缀) oJVpJA0IA
.Wvg{ S-
struts.custom.properties (:ij'Zbz
Location of additional configuration properties files to load 3Cl&1K #5
加载附加的配置文件的位置 2p8}6y:}7
]Kp -2KW
)r:gDd#/X
struts.devMode MGSD;Lgn
Whether Struts is in development mode or not q|N4d9/b
是否为struts开发模式 ,L^ag&!4
YC d
struts.dispatcher.parametersWorkaround hZeF? G)L'
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic z]R)Bh
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A<[X@o}92
-bQi4
struts.enable.DynamicMethodInvocation aq%i:};
Allows one to disable dynamic method invocation from the URL vU,;asgy
允许动态方法调用 dmUa\1g#
F}=O Mo:.
struts.freemarker.manager.classname Ln&CB!u
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class td\'BV
org.apache.struts2.views.freemarker.FreemarkerManager接口名 OiMr,
+{"w5o<CO
struts.i18n.encoding s f<NC>-
The encoding to use for localization messages ~MLBO
国际化信息内码 _gI1@uQw
r>x>aJ
struts.i18n.reload P/doNv}iG
Whether the localization messages should automatically be reloaded ;>h:VnV(>(
是否国际化信息自动加载 m15> ^i^W
=U+_;;F=
struts.locale &=hkB9
;
The default locale for the Struts application C'xWRSDO
默认的国际化地区信息 s!\Gi5b
@RFJe$%
struts.mapper.class 5{O9<~,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
&L4>w.b"N
org.apache.struts2.dispatcher.mapper.ActionMapper接口 4+4C0/$Y
]{PJ
struts.multipart.maxSize DyPb]Udb:
The maximize size of a multipart request (file upload) {^*D5
multipart请求信息的最大尺寸(文件上传用) z)XIA)i6
b?%Pa\,!
struts.multipart.parser y`p(}X`>
The org.apache.struts2.dispatcher.multipart. C &-]RffA
MultiPartRequest parser implementation for a multipart request (file upload) BF+i82$zo
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l\1_v7s
9Ts r g
/D
~UK"}
struts.multipart.saveDir _Q6` Wp6m
The directory to use for storing uploaded files *d$r`.9j
设置存储上传文件的目录夹 UA}N
jv'q:uA ^
struts.objectFactory
_V_GdQ
The com.opensymphony.xwork2.ObjectFactory implementation class rz]M}!>k
com.opensymphony.xwork2.ObjectFactory接口(spring)
zv HeoM,
`]4bH,%~
struts.objectFactory.spring.autoWire Y5$VWUrB
Whether Spring should autoWire or not DS6g_SS3
是否自动绑定Spring 5Int,SX
d2[R{eNX=
struts.objectFactory.spring.useClassCache ,G!mO,DX
Whether Spring should use its class cache or not <)ltvo(
是否spring应该使用自身的cache Q<d|OX
sRDxa5<MD
struts.objectTypeDeterminer Q9NKQuSu
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gWpG-RL0
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q 2nqA1sRk
1]]#HTwX
struts.serve.static.browserCache hT?|:!ED.F
If static content served by the Struts filter should set browser caching header properties or not \2NT7^H#
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y[Kpd[)[v
`}|$eF&
struts.serve.static ]Wdnr1d~8
Whether the Struts filter should serve static content or not z{ MO~d9
是否struts过滤器应该提供静态内容 J!@`tR-
jRYW3a_7
struts.tag.altSyntax /aX5G
Whether to use the alterative syntax for the tags or not k~HS_b*]d
是否可以用替代的语法替代tags z`KP
}-
Z]x)d|3;
struts.ui.templateDir )2mvW1M=7;
The directory containing UI templates ISALR{Aq
UI templates的目录夹
:to1%6
:Wl`8p4]
struts.ui.theme >[a&,gS
The default UI template theme `;\~$^sj}
默认的UI template主题 6h3TU,$r
QDpzIjJj
struts.url.http.port kcyT#'=j
The HTTP port used by Struts URLs \YrvH
设置http端口 _5&LV2
Qa-~x8 ]
struts.url.https.port b5.L== >
The HTTPS port used by Struts URLs /Ym!%11`
设置https端口 cLyed3uU
Kb,#Ot
struts.url.includeParams H!vX#
The default includeParams method to generate Struts URLs c!HmZ]/
在url中产生 默认的includeParams 0D:e P``
=VOl
*
fOkB|E]
struts.velocity.configfile #xTu {
The Velocity configuration file path VH2/
velocity配置文件路径 CyEEE2cV
|dI,4Z\Qb
struts.velocity.contexts /{HK0fd
List of Velocity context names 7R5!(g
velocity的context列表 {u_2L_
2z615?2_U
QLum=YB
struts.velocity.manager.classname a-Ef$(i_
org.apache.struts2.views.velocity.VelocityManager implementation class CY
i{WV(:
org.apache.struts2.views.velocity.VelocityManager接口名 rN5;W
os~}5QJ
struts.velocity.toolboxlocation QQIU5
The location of the Velocity toolbox %eDJ]\*^X
velocity工具盒的位置
Jk3V]u
struts.xslt.nocache oq3{q
Whether or not XSLT templates should not be cached *, RxOz2=
是否XSLT模版应该被缓存 U)y~{E~c34