struts2的struts.properties配置文件详解 9Rnypzds
Cku"vVw,
struts.action.extension bP&QFc
The URL extension to use to determine if the request is meant for a Struts action ixdsz\<
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0Ds3wNz
20;9XJmjl
struts.configuration `r`8N6NQ&]
The org.apache.struts2.config.Configuration implementation class }'$PYAf6
org.apache.struts2.config.Configuration接口名 KhHFJo[8sf
lT^su'+bk
struts.configuration.files 52e>f5m.
A list of configuration files automatically loaded by Struts <W"W13*j!
struts自动加载的一个配置文件列表 O,Q.-
br[iRda@
struts.configuration.xml.reload Rm} ym9
Whether to reload the XML configuration or not ^}_Ka //k
是否加载xml配置(true,false) hzqJ!
U#` e~d t<
struts.continuations.package mLX/xM/T?/
The package containing actions that use Rife continuations hy5[
L`B
含有actions的完整连续的package名称 5I622d
s<9g3Gh
struts.custom.i18n.resources 6l]X{ A.
Location of additional localization properties files to load A9$x8x*Lt
加载附加的国际化属性文件(不包含.properties后缀) o$rjGa l
k {*QU(
struts.custom.properties ysW})#7X
Location of additional configuration properties files to load >NRppPqL
加载附加的配置文件的位置 ky2 bj}"p9
ci~#G[_$S
^`&'u_B!+
struts.devMode r7m~.M+W"
Whether Struts is in development mode or not CJ IuMsZ
是否为struts开发模式 H@Z_P p?
;)(g$r^_i
struts.dispatcher.parametersWorkaround D@O`"2
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4ba*Nc*Yc
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) cMw<3u\
k{}> *pCU
struts.enable.DynamicMethodInvocation pM?;QG;jA
Allows one to disable dynamic method invocation from the URL JE?rp1.
允许动态方法调用 jx: IK
q<JCgO-F<
struts.freemarker.manager.classname $TI^8 3
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4b8G 1fm
org.apache.struts2.views.freemarker.FreemarkerManager接口名 9L=mS
7*!7EBb
struts.i18n.encoding Aqyw
The encoding to use for localization messages 1)ue-(o5
国际化信息内码 v ,8;:
sD
<RGH+4LF
struts.i18n.reload
=@HS
Whether the localization messages should automatically be reloaded /eF@a!
是否国际化信息自动加载 m ptFd
/Z:j:l
struts.locale #,%bW[L<N
The default locale for the Struts application ?d7,0Ex
P
默认的国际化地区信息 PsC")JS
p}1i[//S
struts.mapper.class C= ~c`V5>r
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =&}@GsXdo
org.apache.struts2.dispatcher.mapper.ActionMapper接口 U'fP
{q-&!l|
struts.multipart.maxSize J2bvHxb Rd
The maximize size of a multipart request (file upload) j#l=%H
multipart请求信息的最大尺寸(文件上传用) X3.zNHN5
Fc~G*Gz~Z|
struts.multipart.parser nf.Ox.kM)
The org.apache.struts2.dispatcher.multipart. Ar`+x5
MultiPartRequest parser implementation for a multipart request (file upload) cHjQwl
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )PX VR
T
AkhG~L
(8duV
struts.multipart.saveDir 9LDv?kYr
The directory to use for storing uploaded files $DbnPZ2$
设置存储上传文件的目录夹 17LhgZs&
W0qR?jc
struts.objectFactory rq+_[!
The com.opensymphony.xwork2.ObjectFactory implementation class _olQ;{ U:
com.opensymphony.xwork2.ObjectFactory接口(spring) y>I2}P
tW\yt~q,
struts.objectFactory.spring.autoWire "r9Rr_,
>
Whether Spring should autoWire or not YKyno?m
是否自动绑定Spring ;J%:DD
o`bch?]
struts.objectFactory.spring.useClassCache F-_u/C]
Whether Spring should use its class cache or not g6GkA.!X$
是否spring应该使用自身的cache '!HTE`Aj
po| Ux`u
struts.objectTypeDeterminer ` 2lS@
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class n6/Ous
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (Ou%0
KW
GAz-yCJp
struts.serve.static.browserCache l A ^1}
If static content served by the Struts filter should set browser caching header properties or not ]; w 2YR
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 P`Np+E#I
%B s. XW,
struts.serve.static hlzB
cz*
Whether the Struts filter should serve static content or not ]3KeAJ
是否struts过滤器应该提供静态内容 V=O52?8
~iL^KeAp
struts.tag.altSyntax uo9#(6
Whether to use the alterative syntax for the tags or not h0{X$&:
是否可以用替代的语法替代tags dSM\:/t
O0 'iq^g
struts.ui.templateDir &V].,12x
The directory containing UI templates yW_yHSx;
UI templates的目录夹 I2Xd"RHN
@\K[WqF$$q
struts.ui.theme g'"~'
The default UI template theme #}`sfaT
默认的UI template主题 x~5uc$
R~vGaxZ$
struts.url.http.port ~Amq1KU*Z
The HTTP port used by Struts URLs BoD{fg
设置http端口 D6"=2XR4n
-l^<[%
struts.url.https.port (MwRe?Ih
The HTTPS port used by Struts URLs ,}oAc
设置https端口 &f*orM:
b^o4Q[
struts.url.includeParams b8mH.g&l
The default includeParams method to generate Struts URLs )U/jD
在url中产生 默认的includeParams R9J!}az'
ZpTDM1ro
#Hw|P
struts.velocity.configfile ?CpVA
The Velocity configuration file path YT\`R
velocity配置文件路径 ;%e&6
?nU<cx h
struts.velocity.contexts +
G@N
List of Velocity context names zl0{lV
velocity的context列表 Ak'=l;
I2[U #4n
(s};MdXIz
struts.velocity.manager.classname ,AP&N'
org.apache.struts2.views.velocity.VelocityManager implementation class 9YzV48su#
org.apache.struts2.views.velocity.VelocityManager接口名 ~?Zib1f)
PR:k--)D
struts.velocity.toolboxlocation bo0U
The location of the Velocity toolbox Pv -4psdw
velocity工具盒的位置 HD j6E"
struts.xslt.nocache FI.te3i?7
Whether or not XSLT templates should not be cached O?uICnmi6
是否XSLT模版应该被缓存 RvzZg%)