struts2的struts.properties配置文件详解 ]/3!t=La
j9w{=( MV
struts.action.extension +W$uHQq
The URL extension to use to determine if the request is meant for a Struts action -UAMHd}4
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <Wj/A/
TEGg)\+D>
struts.configuration Im};wJ&
The org.apache.struts2.config.Configuration implementation class (lq%4h
org.apache.struts2.config.Configuration接口名 bE=[P}E
Jk:ZO|'Z
struts.configuration.files ()$m9%x
A list of configuration files automatically loaded by Struts &B1!,joH~
struts自动加载的一个配置文件列表 SOMAs'=
h/y0Q~|/d
struts.configuration.xml.reload {w,<igh
Whether to reload the XML configuration or not 7|bBC+;(
是否加载xml配置(true,false) F9(jx#J~t
(KfQ'B+
struts.continuations.package cRCji^,KJ
The package containing actions that use Rife continuations O-pH~E
含有actions的完整连续的package名称 |5q,%9_
D vN0h(?
struts.custom.i18n.resources m]'+Eye ]r
Location of additional localization properties files to load ep`8LQf
加载附加的国际化属性文件(不包含.properties后缀) @Jlsx0i}}
_5b~3K/V
struts.custom.properties $]W*;MTI}
Location of additional configuration properties files to load &uV|Ie8@q
加载附加的配置文件的位置 J-G)mvkv
cg_tJ^vrY
Qw_>
l}k/
struts.devMode ;NAKU
Whether Struts is in development mode or not ;<6S\
是否为struts开发模式 P]2 /}\f
Q84XmXm|
struts.dispatcher.parametersWorkaround t-iQaobF
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _`laP5~
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hv#LKyp%
&$#NV@
struts.enable.DynamicMethodInvocation vfVF^
WOd
Allows one to disable dynamic method invocation from the URL '%rn-|)
允许动态方法调用 e(OKE7
.lI.I
struts.freemarker.manager.classname [iyhrc:@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xk,1D
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !:uh? RW
bGwj` lue
struts.i18n.encoding 31%3&B:Ts
The encoding to use for localization messages l Dwq[ I]w
国际化信息内码 9\E];~"iP
*$JS}Pax
struts.i18n.reload :;LaV
Whether the localization messages should automatically be reloaded p^p1{%=
是否国际化信息自动加载 dDA&\BuS
&t'P>6)
struts.locale @00&J~D
The default locale for the Struts application j.V7`x
默认的国际化地区信息 5l(@p7_+
7E?60^Tve
struts.mapper.class goD#2lg
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i\4d d)p-
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :Fh _Ya0
@)z?i
struts.multipart.maxSize e;"%h%'
The maximize size of a multipart request (file upload) )IIWXN2A
multipart请求信息的最大尺寸(文件上传用) jCg4$),b
xyXVWd[
struts.multipart.parser 'g}Q@@b
The org.apache.struts2.dispatcher.multipart. q%1B4 mF'
MultiPartRequest parser implementation for a multipart request (file upload) qV``' _=<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Tv%
Z|%*
o_ixdnc
+4D#Ht7
struts.multipart.saveDir \TYH7wXDP
The directory to use for storing uploaded files Cs,t:ajP
设置存储上传文件的目录夹 ,ob)6P^rw
mhs%8OTN
struts.objectFactory u2U+uD@yA
The com.opensymphony.xwork2.ObjectFactory implementation class wNh\pWA
com.opensymphony.xwork2.ObjectFactory接口(spring) ]*{tno
.g=D70
struts.objectFactory.spring.autoWire =;?Maexp3$
Whether Spring should autoWire or not [LbCG
是否自动绑定Spring C6D
Eq>v
=jU#0FAO
struts.objectFactory.spring.useClassCache )M56vyo
Whether Spring should use its class cache or not aLQ]2m
是否spring应该使用自身的cache sE^=]N
u1Wixjd|
struts.objectTypeDeterminer H~0B5Hl!F
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t-]~^s
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gA2]kZg
)Oj{x0{\Q
struts.serve.static.browserCache sX`by\s,
If static content served by the Struts filter should set browser caching header properties or not ,twm)%caU
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G49`a*Jn
qx?0]!x
struts.serve.static e\*N Lj_(
Whether the Struts filter should serve static content or not F/df!I~
是否struts过滤器应该提供静态内容 P4s,N|bs`
%6:"tuA
struts.tag.altSyntax 8ROZ]Xh,x
Whether to use the alterative syntax for the tags or not th{Ib@o
是否可以用替代的语法替代tags r#6djs1
#!4
HSBf
struts.ui.templateDir I5rAL\ y-G
The directory containing UI templates -8t&&fIA
UI templates的目录夹
n3s
U{9yfy
struts.ui.theme IBh?vh
The default UI template theme )hfI,9I~
默认的UI template主题 uC 2{
Mmy
0qN+W&H
struts.url.http.port o&?:pE
The HTTP port used by Struts URLs l<s6Uu"
设置http端口 A_5M\iN\
]Lm?3$u$
struts.url.https.port ^F|/\i
The HTTPS port used by Struts URLs difAQ<`
设置https端口 {9nH#yv
v%E!
struts.url.includeParams 4Jw_gOY&D
The default includeParams method to generate Struts URLs @ |(Tg
在url中产生 默认的includeParams MQo/R,F }
(<Kf
q]P$NeEiZ"
struts.velocity.configfile uCf _O~
The Velocity configuration file path E*}1_,q)
velocity配置文件路径 C4eQ.ep
|v h{Kb@
struts.velocity.contexts ;n/04z
List of Velocity context names )zo:Bo
.<
velocity的context列表 6>Is-/hsy
9aY}+hgb#
'L
veCi_
struts.velocity.manager.classname f;,^
]mw
org.apache.struts2.views.velocity.VelocityManager implementation class Sfffm$H
org.apache.struts2.views.velocity.VelocityManager接口名 "!PN +gB
QG;V\2T2[
struts.velocity.toolboxlocation aByd,uSe)_
The location of the Velocity toolbox R!RgQwEak
velocity工具盒的位置 7JLjA\k
struts.xslt.nocache nSbcq>3
Whether or not XSLT templates should not be cached " VSma
是否XSLT模版应该被缓存 #AH<dS