struts2的struts.properties配置文件详解 DCsamOA~
6|mHu2qXm
struts.action.extension sLKk1A
The URL extension to use to determine if the request is meant for a Struts action ,`Keqfx
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L<XAvg
o3"Nxq"U
struts.configuration Ln'y 3~@
The org.apache.struts2.config.Configuration implementation class ,.kJF4s&
org.apache.struts2.config.Configuration接口名 U[0x\~[$K
|,bP`Z
struts.configuration.files 4 s
s 4O
A list of configuration files automatically loaded by Struts ) $`}~
struts自动加载的一个配置文件列表 a(J@]X>'
@m5c<(bkfp
struts.configuration.xml.reload N \~}`({
Whether to reload the XML configuration or not /!#A'#Z
是否加载xml配置(true,false) <ni_78
c;?J
struts.continuations.package X-=4Z9
The package containing actions that use Rife continuations 3F?7oMNIh
含有actions的完整连续的package名称 0BwxPD#6bv
H#S`m
struts.custom.i18n.resources Y\,aJL$
Location of additional localization properties files to load tk)JE^'
加载附加的国际化属性文件(不包含.properties后缀) nTtE+~u
oE.Ckz~*d
struts.custom.properties pG6?"*Fz;
Location of additional configuration properties files to load |oWl9j]Z
加载附加的配置文件的位置 e#U@n
j6
xfF;u9$;
tj ?%{L
struts.devMode r|63T%q!
Whether Struts is in development mode or not "ejsz&n
是否为struts开发模式 )3 I~6ar
?8w5tfN6t
struts.dispatcher.parametersWorkaround `h|Y0x
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic cP",szcY
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /Rf,Rjs
(@ 1>G
^%
struts.enable.DynamicMethodInvocation XU`ly3!
Allows one to disable dynamic method invocation from the URL GlHP`&;UH
允许动态方法调用 mm9uhlV8
=F2`X#x_j
struts.freemarker.manager.classname {?;qy\m]o
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `;=-71Gn~
org.apache.struts2.views.freemarker.FreemarkerManager接口名 iT;Ld $!{f
+7Uv|LZ~@
struts.i18n.encoding
0ijYE
The encoding to use for localization messages v8YF+N
国际化信息内码 }4g$aTc
J(G-c5&=
struts.i18n.reload zcC:b4
Whether the localization messages should automatically be reloaded
Y(
是否国际化信息自动加载 =P9Tc"2PN
VbDk44X.W
struts.locale e^<'H
The default locale for the Struts application gyQPQ;"H$2
默认的国际化地区信息 !4a#);`G
oTRidG
struts.mapper.class A0>r]<y
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i&1rf |
org.apache.struts2.dispatcher.mapper.ActionMapper接口 C B`7KK
Gshy$'_e
struts.multipart.maxSize EJP] E)
The maximize size of a multipart request (file upload) a/v]E]=qI
multipart请求信息的最大尺寸(文件上传用) E/hT/BOPK
cij8'("+!
struts.multipart.parser x=Aq5*A0
The org.apache.struts2.dispatcher.multipart. Kx?.g#>U;
MultiPartRequest parser implementation for a multipart request (file upload) *;(^)Sj4Q
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }= wor~
9Trk&OB
FWB
*=.A9
struts.multipart.saveDir 52 *ii
The directory to use for storing uploaded files jo?[M
设置存储上传文件的目录夹 ~F53{qxV
l}iQ0v@
struts.objectFactory &"?99E>
The com.opensymphony.xwork2.ObjectFactory implementation class =it @U/
com.opensymphony.xwork2.ObjectFactory接口(spring) jXVvVv
L|Xg4Z
struts.objectFactory.spring.autoWire M}j[{wW3
Whether Spring should autoWire or not JljCI@
是否自动绑定Spring 2">de/jS
8f<y~L_(`
struts.objectFactory.spring.useClassCache 1 +s;a]-C
Whether Spring should use its class cache or not !MrQ-B (
是否spring应该使用自身的cache bEB2q\|Je
ie11syhV"
struts.objectTypeDeterminer Y]_$+Si:NK
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |g>Q3E
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )+"5($~
n=PfV3B
struts.serve.static.browserCache u(fZ^
If static content served by the Struts filter should set browser caching header properties or not u|Oc+qA(
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 C(9"59>{]y
P^# 4m
struts.serve.static Y]*&\Ex"\
Whether the Struts filter should serve static content or not %Oo
f/q
是否struts过滤器应该提供静态内容 \4LTViY]
xFekSH7[F
struts.tag.altSyntax (c&%1bJ
Whether to use the alterative syntax for the tags or not IBvn
q8\
是否可以用替代的语法替代tags S8B?uU
ZqdoYU'
struts.ui.templateDir s_}6#;
The directory containing UI templates , O/IY
UI templates的目录夹 :5['V#(o
u;]xAr1
struts.ui.theme :\I*_00!
The default UI template theme ]DU?N7J
默认的UI template主题 _Rb2jq(&0
ML MetRP
struts.url.http.port ,NvXpN
The HTTP port used by Struts URLs yoJ.[M4q
设置http端口 `|Hk+V
'!ks $}$`h
struts.url.https.port 9J~\.:jH-
The HTTPS port used by Struts URLs j:qexhtho
设置https端口 o$Ylqb#
9pPLOXr ,
struts.url.includeParams [=BMvP5
The default includeParams method to generate Struts URLs zd)QCq
在url中产生 默认的includeParams ?G,gPb
.j &#
Qclq^|O0
struts.velocity.configfile Y8^WuN$
The Velocity configuration file path _G-y{D_S&
velocity配置文件路径 RjH68=n
dWQB1Y*N
struts.velocity.contexts A)4XQF
List of Velocity context names :s&dn%5N"
velocity的context列表 V@T(%6<|
v-SXPL]_^
^iBIp#
struts.velocity.manager.classname 3^nH>f-Y
org.apache.struts2.views.velocity.VelocityManager implementation class #AB5}rPEI
org.apache.struts2.views.velocity.VelocityManager接口名 oPF]]Imu
5y 5Dn!`
struts.velocity.toolboxlocation utBrH
The location of the Velocity toolbox P$0c{B4I
velocity工具盒的位置 i\l}M]Z#
struts.xslt.nocache i9De+3VqKK
Whether or not XSLT templates should not be cached @&EIH,c
是否XSLT模版应该被缓存 ,Pcg+^A