struts2的struts.properties配置文件详解 GY3g`M
k>'c4ay290
struts.action.extension g.V{CJ*V
The URL extension to use to determine if the request is meant for a Struts action T2%{pcdV/
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pSPVY2qKX
&|LP>'H;
struts.configuration |E(`9
The org.apache.struts2.config.Configuration implementation class v)!C
Dpw
org.apache.struts2.config.Configuration接口名 uQ_s$@brI
?kF_C,k/>N
struts.configuration.files hb,G'IU
A list of configuration files automatically loaded by Struts Mqk[+n
struts自动加载的一个配置文件列表 F4#^jat{
s4&JBm(33N
struts.configuration.xml.reload T``O!>J
Whether to reload the XML configuration or not G(*7hs
是否加载xml配置(true,false) "A>/m"c]*
z+=wql*Eo
struts.continuations.package Ibbpy++d[
The package containing actions that use Rife continuations kuZs30^
含有actions的完整连续的package名称 <jk.9$\$A
(v2.8zrJ
struts.custom.i18n.resources 4kr! Af
Location of additional localization properties files to load yf/c
加载附加的国际化属性文件(不包含.properties后缀) / Ml d.
)d^b\On
struts.custom.properties =a]B#uUn
Location of additional configuration properties files to load 1k:s~m?!
加载附加的配置文件的位置 ]CnqPLqL
8#_"WzDw
4Up3x+bg
struts.devMode EXz{Pqz
Whether Struts is in development mode or not m`Dn R`+
是否为struts开发模式 /yd<+on^
q]}1/JZS
struts.dispatcher.parametersWorkaround B|zVq=l~
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Lu6?$N57rC
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 'a6:3*
.o"FT~}z
struts.enable.DynamicMethodInvocation /Sn>{ &
Allows one to disable dynamic method invocation from the URL !vQDPLBL
允许动态方法调用 OM1pyt
k@RIM(^t
struts.freemarker.manager.classname [h=[@jiB
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class n@e[5f9?x
org.apache.struts2.views.freemarker.FreemarkerManager接口名 L74Sx0nk=
g218%i
struts.i18n.encoding $At,D.mGkb
The encoding to use for localization messages |TE\ ]
国际化信息内码 rf:CB&u
noLb
struts.i18n.reload OQC.p,SO
Whether the localization messages should automatically be reloaded Hrdz1:#6,
是否国际化信息自动加载 J ;e/S6l
1$^=M[v
struts.locale TXDb5ZCzM
The default locale for the Struts application w-3 B~e
默认的国际化地区信息 |AS`MsbI9
tc%0yr9
struts.mapper.class G1`H
H&
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Dn9AOi!
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ac@zTK6>
DX$zzf
struts.multipart.maxSize ~H+W[r}
The maximize size of a multipart request (file upload) O:>9yZhV
multipart请求信息的最大尺寸(文件上传用) G._E9
5uJ{#Zd
struts.multipart.parser ^HM9'*&KJ
The org.apache.struts2.dispatcher.multipart. TzW1+DxM5
MultiPartRequest parser implementation for a multipart request (file upload) ::Nhs/B/
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h+!
a|s64+
F]"Hs>
struts.multipart.saveDir z#|#Cq`VG
The directory to use for storing uploaded files mn;Wqb/
设置存储上传文件的目录夹 C*f3PB=H_
8pQ:B/3=
struts.objectFactory JL7"}^
The com.opensymphony.xwork2.ObjectFactory implementation class eK]$8l|LI
com.opensymphony.xwork2.ObjectFactory接口(spring) a!!>}e>Cj*
=yZiBJ
struts.objectFactory.spring.autoWire ]rs7%$ZW
Whether Spring should autoWire or not J% t[{
是否自动绑定Spring YhzDi>hob
UFED*al#
struts.objectFactory.spring.useClassCache ZvS|a~jO
Whether Spring should use its class cache or not "
~X;u8m
是否spring应该使用自身的cache &d8z`amP
@A-^~LoP.
struts.objectTypeDeterminer NIQX?|;b{
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |4XR [eX
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 KC`~\sYRN]
:<}.3 Q?&
struts.serve.static.browserCache tl uyx
If static content served by the Struts filter should set browser caching header properties or not G \S >H
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 q|[P[7z
o5 fXe}pl@
struts.serve.static KP[H&4eoC
Whether the Struts filter should serve static content or not R4R SXV
是否struts过滤器应该提供静态内容 nO d'$q
=R>%}5
struts.tag.altSyntax @YMQbjbr
Whether to use the alterative syntax for the tags or not k$hNibpkt
是否可以用替代的语法替代tags njk1x
2[*r9%W
struts.ui.templateDir ;8G( l
The directory containing UI templates 4G%!t`?q
UI templates的目录夹 $|2@of.
8-wW?YTG
struts.ui.theme ?rD`'B
The default UI template theme 2|1s !Q
默认的UI template主题 SnhB$DG
g8_C|lVZi
struts.url.http.port Eoj 2l&\
The HTTP port used by Struts URLs 7sQw&yUL)
设置http端口 Tu'/XUs;k
iZVMDJ?(Z]
struts.url.https.port >}43xIRRCq
The HTTPS port used by Struts URLs KXgC]IO~
设置https端口 ]J
t8]w
G*;}6 bj|?
struts.url.includeParams jQKlJi2xu
The default includeParams method to generate Struts URLs MBbycI,
在url中产生 默认的includeParams e$E~@{[1)
Y]5\%JR
6!,Am^uXM
struts.velocity.configfile 0RLyAC|
The Velocity configuration file path Dm=Em-ST6
velocity配置文件路径 {ZS-]|Kx
uF!3a$4]
struts.velocity.contexts +G!N@O
List of Velocity context names wXc"Car)
velocity的context列表 +7jr ]kP9
fwojFS.K
G36}4
struts.velocity.manager.classname &AMW?vO
org.apache.struts2.views.velocity.VelocityManager implementation class b"ypS7
_
org.apache.struts2.views.velocity.VelocityManager接口名 b[^=GF>e
{QTrH-C
struts.velocity.toolboxlocation Ty"OJ
The location of the Velocity toolbox EBY=ccGE{
velocity工具盒的位置 <"uT=]wZ=
struts.xslt.nocache qIwI]ub~
Whether or not XSLT templates should not be cached ?I` BbT}
是否XSLT模版应该被缓存 y&0&K4aa