struts2的struts.properties配置文件详解 9J3fiA_
f{P1.?a
struts.action.extension e(0OZ_ w
The URL extension to use to determine if the request is meant for a Struts action Ehx9-*]
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Tv=lr6t8
(7Z+ De?
struts.configuration U~x]2{}
The org.apache.struts2.config.Configuration implementation class DDeU:
org.apache.struts2.config.Configuration接口名 T*x2+(r
#Z%"
?RJ
struts.configuration.files hq=;ZI
A list of configuration files automatically loaded by Struts |7|S>h^
struts自动加载的一个配置文件列表 Hl$W+e|tj
NrqJf-ldo
struts.configuration.xml.reload .?:*0
Whether to reload the XML configuration or not ?M4o>T%p "
是否加载xml配置(true,false) #t
;`
]fM|cN8(zM
struts.continuations.package ;{ifLI0#
The package containing actions that use Rife continuations s)1-xA{'.
含有actions的完整连续的package名称 =)Xj[NNRT
g:Hj1!'
struts.custom.i18n.resources ~:DL{ZeEb
Location of additional localization properties files to load xKUL}>8
加载附加的国际化属性文件(不包含.properties后缀) 2%%\jlT_
=]7o+L4
struts.custom.properties p!UR;xHI\
Location of additional configuration properties files to load ALMsF2H
加载附加的配置文件的位置 I"Zp^j
K<>kT4
e5'I W__
struts.devMode h4;kjr}h}
Whether Struts is in development mode or not jK w
96
是否为struts开发模式 G2`z?);1b
,2FK$:M\
struts.dispatcher.parametersWorkaround b80#75Bj>
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y(PCc}/\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k\f
_\pj6
meX2Y;
struts.enable.DynamicMethodInvocation )WqolB
Allows one to disable dynamic method invocation from the URL /qLO/Mim
允许动态方法调用 $[|(&8+7
]m+%y+
struts.freemarker.manager.classname n5}]C{s'
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class OC=&!<
org.apache.struts2.views.freemarker.FreemarkerManager接口名 d(q1?{zr4
p@tg pFt
struts.i18n.encoding *[si!e%
The encoding to use for localization messages p'jc=bL E
国际化信息内码 =5|7S&{
p<fCGU
struts.i18n.reload TLwxP"
Whether the localization messages should automatically be reloaded RjWwsC~B
是否国际化信息自动加载 Q %o@s3~O
tsb[=W!Ar8
struts.locale 2*Qv6
:qK
The default locale for the Struts application `ASDUgx Mq
默认的国际化地区信息 J K/{IkF
:;{M0
struts.mapper.class Btm,'kBG
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9j2t|D4uT
org.apache.struts2.dispatcher.mapper.ActionMapper接口 @c|=onx5
rpow@@ad<
struts.multipart.maxSize xw #CwMbbi
The maximize size of a multipart request (file upload) 1:-'euA"
multipart请求信息的最大尺寸(文件上传用) yv,FzF}7
\=%lH =yS
struts.multipart.parser z!}E2j_9P
The org.apache.struts2.dispatcher.multipart. 6
U.Jaai:
MultiPartRequest parser implementation for a multipart request (file upload) a4*v'Xc5
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tguB@,O
*'Yy@T8M
R"t#dG]1t
struts.multipart.saveDir .QvD603%5
The directory to use for storing uploaded files m+c-"arIpA
设置存储上传文件的目录夹 $)M3fZ$#
F6\{gQ<E
struts.objectFactory Hx.|5n,5
The com.opensymphony.xwork2.ObjectFactory implementation class 9X*Nk~}Y
com.opensymphony.xwork2.ObjectFactory接口(spring) hr
vTFJ
&=@{`2&
struts.objectFactory.spring.autoWire zD{]3pg
Whether Spring should autoWire or not 4(Lmjue]?
是否自动绑定Spring @)Vpj\jM-C
:60vbO
struts.objectFactory.spring.useClassCache 7#LIG r
Whether Spring should use its class cache or not x3O%W?5
是否spring应该使用自身的cache * 6}M.`.-
rS1 gFGrj
struts.objectTypeDeterminer ('&lAn
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bn*:Bn1
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gVG^R02#<k
-`L`kL<
struts.serve.static.browserCache l(>6Yq
If static content served by the Struts filter should set browser caching header properties or not a{8a[z
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "| '~y}v_
dseI~}
struts.serve.static E+L7[
Whether the Struts filter should serve static content or not @\by`3*Q
是否struts过滤器应该提供静态内容 xFu ,e
.<m]j;|6
struts.tag.altSyntax /2K"Mpf8
Whether to use the alterative syntax for the tags or not N3G9o`k
是否可以用替代的语法替代tags ASXGM0t
LHY7_"u#
struts.ui.templateDir Q>1BOH1by
The directory containing UI templates P+CV4;Xz
UI templates的目录夹 3fOOT7!FL
MzvhE0ab
struts.ui.theme #cY[c1cNv
The default UI template theme LLx0X
O@
默认的UI template主题 Ca |}i+
mb*Yw6q
struts.url.http.port s$fM,l:!
The HTTP port used by Struts URLs 1Yb &E7j
设置http端口 NpVL;6?7T
ZKi&f,:
struts.url.https.port 'w:ugb9]
The HTTPS port used by Struts URLs lelmX
设置https端口 T}Tv}~!f
ucl001EK
struts.url.includeParams x;vfmgty
The default includeParams method to generate Struts URLs $0Y`>3
在url中产生 默认的includeParams Z %pc"
vobC/m
%FjUtB
struts.velocity.configfile *BKD5EwS
The Velocity configuration file path {K|?i9K
velocity配置文件路径 N'b GL%
1H-Wk
struts.velocity.contexts hDXTC_^s
List of Velocity context names *;Kp"j
velocity的context列表 k^7!iOK2
!oz{XWE
@5Tl84@Q
struts.velocity.manager.classname D`XXR}8V
org.apache.struts2.views.velocity.VelocityManager implementation class uEgR>X>
org.apache.struts2.views.velocity.VelocityManager接口名 yi8vD~aA[
ed'[_T}T3t
struts.velocity.toolboxlocation ^;
KCE
The location of the Velocity toolbox 4X=VNORlU0
velocity工具盒的位置 5*z>ez2YQ7
struts.xslt.nocache Luao?;|U
Whether or not XSLT templates should not be cached :hICe+2ca
是否XSLT模版应该被缓存 [Qs`@u<%