struts2的struts.properties配置文件详解 )2Y]A^ Y
JZ-64OT
struts.action.extension ]f wW
dtz1
The URL extension to use to determine if the request is meant for a Struts action 8/ukzY1!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 KRhls"\1
"(';UFa
struts.configuration XZ8]se"C
The org.apache.struts2.config.Configuration implementation class 6KN6SN$
org.apache.struts2.config.Configuration接口名 zd F;!
&Fk|"f+
struts.configuration.files X .K*</(g
A list of configuration files automatically loaded by Struts :inVwc
struts自动加载的一个配置文件列表 |^F$Ta
[?2?7>D8
struts.configuration.xml.reload u'Hh||La"
Whether to reload the XML configuration or not F)/4#[
是否加载xml配置(true,false) iT{[zLz>1
I;, n|o
struts.continuations.package *F(<:3;2
The package containing actions that use Rife continuations u`!Dp$P
含有actions的完整连续的package名称 ~=otdJ
#D>:'ezm
struts.custom.i18n.resources FZ8Qj8
Location of additional localization properties files to load Ggv*EsN/cC
加载附加的国际化属性文件(不包含.properties后缀) nKTi"2dm
KXWz(L!1
struts.custom.properties v`6vc)>8
Location of additional configuration properties files to load /WX&UAG
加载附加的配置文件的位置 Ru);wzky
@bnw$U`+
Q(BZg{
struts.devMode 6IJ;od.\b$
Whether Struts is in development mode or not r.=.,R
是否为struts开发模式 eOZ~p
8N<mV^|}
struts.dispatcher.parametersWorkaround {q;_Dd
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .I^Y[_.G
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) -Wre4^,v
7.kH="@
struts.enable.DynamicMethodInvocation % S>6Q^B
Allows one to disable dynamic method invocation from the URL C 8d9(u
允许动态方法调用 (4rHy*6
rj1%IzaXU^
struts.freemarker.manager.classname AF{@lDa1h
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class RyWfoLc
org.apache.struts2.views.freemarker.FreemarkerManager接口名 YnCuF0>
{e., $'#
struts.i18n.encoding `sd
H
q
The encoding to use for localization messages Vk76cV
D
国际化信息内码 N7;kWQH
rQPO+
struts.i18n.reload t+0/$
Whether the localization messages should automatically be reloaded '68#7Hs.
是否国际化信息自动加载 Ch~y;C&e+r
[V5,1dmkI
struts.locale =xb/zu(
The default locale for the Struts application /7-FVqDx8
默认的国际化地区信息 `)BZk[64
0AhUH|]
struts.mapper.class 0p\Kf(|E*6
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class IZd~Am3f
org.apache.struts2.dispatcher.mapper.ActionMapper接口 A43[i@o
Kc>Rd
struts.multipart.maxSize 5T'viG}%
The maximize size of a multipart request (file upload) `+UBl\j
multipart请求信息的最大尺寸(文件上传用) cf%2A1I2W
zYftgH_o
struts.multipart.parser +)_DaL
E
The org.apache.struts2.dispatcher.multipart. FIQHs"#T
MultiPartRequest parser implementation for a multipart request (file upload) !4YmaijeN
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) X7MA>j3m
T@n};,SQ
;YBk.}
%
struts.multipart.saveDir w.=rea~
The directory to use for storing uploaded files 4NIb_E0
设置存储上传文件的目录夹 i&)OJy
8>X] wA6q
struts.objectFactory m*KI'~#$%
The com.opensymphony.xwork2.ObjectFactory implementation class G12o?N0p
com.opensymphony.xwork2.ObjectFactory接口(spring) %F:; A
g12.4+
struts.objectFactory.spring.autoWire fA ),^
Whether Spring should autoWire or not /\E3p6\*
是否自动绑定Spring nD=N MqQ &
I.%EYAai
struts.objectFactory.spring.useClassCache U1|{7.R
Whether Spring should use its class cache or not 8N4E~*>C
是否spring应该使用自身的cache :G5O_T$
5mm&l+N)
struts.objectTypeDeterminer `t
g=__D
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aZo>3z;
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %V#? 1{
0P;LH3sx
struts.serve.static.browserCache DMKtTt[}
If static content served by the Struts filter should set browser caching header properties or not ?rdWhF]
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g}*p(Tp9:
)k4&S{=
struts.serve.static iN5[x{^t
Whether the Struts filter should serve static content or not uME_/S uO
是否struts过滤器应该提供静态内容 zN\C
KJt6d`ZN
struts.tag.altSyntax (:}}p}u
Whether to use the alterative syntax for the tags or not xb&,9Lxd|
是否可以用替代的语法替代tags 5BM6Pnle
q3GkfgY
struts.ui.templateDir J{nA
?[
The directory containing UI templates )6px5Vwz
UI templates的目录夹 !d95gq<=>
\|Y_,fi
struts.ui.theme 5wv7]F<
The default UI template theme ! 'Hd:oD<
默认的UI template主题 /?}2OCq
/9?yw!
struts.url.http.port i\o * =+{r
The HTTP port used by Struts URLs CH5>u
设置http端口 d?/>Qqw:#
[4;G^{
bX
struts.url.https.port 6DC+8I<
The HTTPS port used by Struts URLs =pnQ?2Og
设置https端口 1buO&q!vn
YuoIhT
struts.url.includeParams 7~L_>7;
The default includeParams method to generate Struts URLs -NA2+].
在url中产生 默认的includeParams O5*3
qJp
*\`<=,H6<
?5j~"
struts.velocity.configfile $1k@O@F(4
The Velocity configuration file path hsYv=Tw3C
velocity配置文件路径 b]N&4t
s$^2Qp
struts.velocity.contexts nB4+*=$E+-
List of Velocity context names #jPn7
velocity的context列表 FRayB VHL
cV4Y=
&
Fn{Pmo*rs
struts.velocity.manager.classname lZ)
qV!<
org.apache.struts2.views.velocity.VelocityManager implementation class U7-*]i k
org.apache.struts2.views.velocity.VelocityManager接口名 f#gV>.P;h\
2_)gJ_kP
struts.velocity.toolboxlocation sR)jZpmC(
The location of the Velocity toolbox 9d!mGnl
velocity工具盒的位置 (N`GvB7;
struts.xslt.nocache 4Ujy_E?^
Whether or not XSLT templates should not be cached d\r-)VWSr"
是否XSLT模版应该被缓存 @eq.&{&