struts2的struts.properties配置文件详解 T~~K~a\8
z{nd4qOsD
struts.action.extension >/'/^h
The URL extension to use to determine if the request is meant for a Struts action ]3d5kf
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 co*XW
j/uzsu+
struts.configuration a *qc
The org.apache.struts2.config.Configuration implementation class 87rHW@\](
org.apache.struts2.config.Configuration接口名 |XJ|vQGU
2XrYm"6w
struts.configuration.files zKQXmyO
A list of configuration files automatically loaded by Struts c@lH
struts自动加载的一个配置文件列表 [Uw3.CVh
Mo]
struts.configuration.xml.reload d5'4RYfkQ
Whether to reload the XML configuration or not !=?Q>mz
是否加载xml配置(true,false) }tbZ[:T{K
|u.3Tp|3W
struts.continuations.package QG
1vP.K
The package containing actions that use Rife continuations g2 tM!IRQ
含有actions的完整连续的package名称 ;FnS=Z
OE2r2ad
struts.custom.i18n.resources pE6r7
Location of additional localization properties files to load @;Xa&*
加载附加的国际化属性文件(不包含.properties后缀) cG!dMab(
c3N,P<#
struts.custom.properties ~8Ez K_c
Location of additional configuration properties files to load o)M<^b3KO
加载附加的配置文件的位置 Wb;D9Z
=QhK|C!$A
vAzSpiv-
struts.devMode Z`>m
Whether Struts is in development mode or not @DK`#,
是否为struts开发模式 `%$+rbo~
sV`p3L8pl
struts.dispatcher.parametersWorkaround i!+0''i{#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \vgM`32<
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [E0.4FLT!
R0T{9,;[`
struts.enable.DynamicMethodInvocation Sz>Lbs
Allows one to disable dynamic method invocation from the URL Hli22~7T:
允许动态方法调用 tHFBLM
L/)Q1Mm
struts.freemarker.manager.classname {YEGy
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \Z_29L w=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 3ZhuC".c
I~ e,']
struts.i18n.encoding B>%;"OMp
The encoding to use for localization messages sfs2ki H
国际化信息内码 ^=y%s
j"n"=rTTQ
struts.i18n.reload {Z#=ppvs
Whether the localization messages should automatically be reloaded $j"BHpN
是否国际化信息自动加载 c>BDw<
!"dAwG?S
struts.locale Q:j)F|uhc
The default locale for the Struts application O |*-J
默认的国际化地区信息 t>eeOWk3
Tb!jIe
struts.mapper.class 7Jn%c<s
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %jxeh.B3B
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5RR4jX]
ageTv/
struts.multipart.maxSize qb+Gjgp
The maximize size of a multipart request (file upload) g])iU9)8
multipart请求信息的最大尺寸(文件上传用) ,OBJ>_5
.DHQJ|J-1
struts.multipart.parser cg^=F_h
The org.apache.struts2.dispatcher.multipart. 3+H[S#e:Z
MultiPartRequest parser implementation for a multipart request (file upload) @j=rSS
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /.Jq]"
f}7/UGd
nc;iJ/\4
struts.multipart.saveDir TnJNs
The directory to use for storing uploaded files C;']FmK]
设置存储上传文件的目录夹 VTK +aI
/#!1
struts.objectFactory -GYJ)f
The com.opensymphony.xwork2.ObjectFactory implementation class i)7B :uA
com.opensymphony.xwork2.ObjectFactory接口(spring) #dkSAS
m=V69
a#
struts.objectFactory.spring.autoWire d bHxc@H
Whether Spring should autoWire or not L4v26*P
是否自动绑定Spring &[_D'jm+S0
63c\1]YB.
struts.objectFactory.spring.useClassCache S%3&Y3S
Whether Spring should use its class cache or not a=M/0N{!
是否spring应该使用自身的cache 8j}o\!H
4c@_u8
struts.objectTypeDeterminer 'LC0hoV
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?%Gzd(YEY
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 NV`=T?1[5
8p PQ
struts.serve.static.browserCache /]9(InM9/
If static content served by the Struts filter should set browser caching header properties or not rtz ]PH
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8@7leAq!
83_vo0@<6
struts.serve.static C9n*?Mk:
Whether the Struts filter should serve static content or not TsY
nsLQY
是否struts过滤器应该提供静态内容 YB376/
LKYcE;n
struts.tag.altSyntax L@`:mK+;
Whether to use the alterative syntax for the tags or not eJE!\ucS2W
是否可以用替代的语法替代tags l4\ !J/df
k<y~n*{_
struts.ui.templateDir 1Sd<cOEd
The directory containing UI templates pI(
H7 (
UI templates的目录夹 - @t L]]
;OSEMgB1
struts.ui.theme TbgIr
The default UI template theme J9lG0
默认的UI template主题 VMw[M^
fwv.^kx
struts.url.http.port Gp2Cwyv
The HTTP port used by Struts URLs NGmXF_kqN
设置http端口 o':K4r;
s,-}}6WO
struts.url.https.port /}nq?Vf
The HTTPS port used by Struts URLs 7E;`1lh7
设置https端口 |l:,EA_v|
fHXz{,?/w
struts.url.includeParams U_~r0
The default includeParams method to generate Struts URLs 8}?w%FsN#
在url中产生 默认的includeParams fk\hrVP
jRhRw;
"89L^I
struts.velocity.configfile ESni r6HoU
The Velocity configuration file path >w#&fd
velocity配置文件路径 %FLe@.Ep{D
()zn8_z
struts.velocity.contexts
scZ&}Ni
List of Velocity context names <%S[6*6U
velocity的context列表 o^Qy71Uj
rS_pv=0S
CmdPa!4)
struts.velocity.manager.classname ';I(#J6
org.apache.struts2.views.velocity.VelocityManager implementation class QsyM[; \j:
org.apache.struts2.views.velocity.VelocityManager接口名 m.c2y6<=
X)S4vqf}
struts.velocity.toolboxlocation mX GW+
The location of the Velocity toolbox :.SwO<j
velocity工具盒的位置 0iVeM!bM
struts.xslt.nocache }[]1`2qD
Whether or not XSLT templates should not be cached &;%,Axc
是否XSLT模版应该被缓存 sn8r`59C