struts2的struts.properties配置文件详解 c@"i?
k~W;TCJs
struts.action.extension q]wn:%rX
The URL extension to use to determine if the request is meant for a Struts action _bvtJZ3i
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #o}{cXX#
ZJ{+_ax0K
struts.configuration WZDokSR
The org.apache.struts2.config.Configuration implementation class qjdahVY
org.apache.struts2.config.Configuration接口名 ttJ:[ R'
F".IB^}$
struts.configuration.files 6:7:NI l:
A list of configuration files automatically loaded by Struts y:(C=*^<t
struts自动加载的一个配置文件列表 B@~eBU,$
-`ys pE0?
struts.configuration.xml.reload Z<m'he
Whether to reload the XML configuration or not J{'zkR?Lr
是否加载xml配置(true,false) 3M>FU4Ug2
E]e[Ty1
struts.continuations.package hH@o|!y
The package containing actions that use Rife continuations E&Zx]?~
含有actions的完整连续的package名称 {)dEO0 p
c )P%O
struts.custom.i18n.resources '~vSH9nx/
Location of additional localization properties files to load 2H32wpY
,l
加载附加的国际化属性文件(不包含.properties后缀) &@.=)4Y
:_b
=Km<
struts.custom.properties U Y?]\4Om
Location of additional configuration properties files to load 4m g
7f^[+
加载附加的配置文件的位置 &rtz&}ZB;
,`B>}
Ok.DSOT
struts.devMode k-Hfip[ro
Whether Struts is in development mode or not 8"I5v(TV
是否为struts开发模式 AK\g-]8
_xZb;PbFE
struts.dispatcher.parametersWorkaround T>:g
ME
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;>x1)|n5
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #__'U6`(
[T?6~^m=
struts.enable.DynamicMethodInvocation ?+JxQlVDt-
Allows one to disable dynamic method invocation from the URL \#*;H|U.x
允许动态方法调用 q,h.W JI
FO)nW:8]
struts.freemarker.manager.classname Mm[1Z;H
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8X~vJ^X9@y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 /01(9(
KVe'2Q<
struts.i18n.encoding QMfy^t+I
The encoding to use for localization messages \kRJUX!s
国际化信息内码 IHX#BY>
WiCM,wDi
struts.i18n.reload Fm+)mmJP
Whether the localization messages should automatically be reloaded Tqh Rs
是否国际化信息自动加载 vT<wd#
4!RI2?4V
struts.locale Vy*Z"k
The default locale for the Struts application H
{Wpf9_
K
默认的国际化地区信息 )C0X]?
@z?.P;f9#
struts.mapper.class :s985sEv
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /
{bK*A!
org.apache.struts2.dispatcher.mapper.ActionMapper接口 (ZR"O8
$GKm`I"
struts.multipart.maxSize HbVV]y
The maximize size of a multipart request (file upload) |(8h:g
multipart请求信息的最大尺寸(文件上传用) 49kia!FR
*X55:yha
struts.multipart.parser 2gI_*fG1
The org.apache.struts2.dispatcher.multipart. vF\zZ<R/
MultiPartRequest parser implementation for a multipart request (file upload) H<Taf%JT
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ee?ZkU#@
xR%ayT.
]xeyXw84k
struts.multipart.saveDir KPcuGJ
The directory to use for storing uploaded files I,uu>-
设置存储上传文件的目录夹 C)kQi2T
Qz$Dv@*y\
struts.objectFactory ~7H.<kJt
The com.opensymphony.xwork2.ObjectFactory implementation class uk/+
i`=
com.opensymphony.xwork2.ObjectFactory接口(spring) 2^lT!X@
/Day5\Q#
struts.objectFactory.spring.autoWire 6b)UoJxj
Whether Spring should autoWire or not -$ft `Ih
是否自动绑定Spring E cz"O
?LFSR
struts.objectFactory.spring.useClassCache $yK!Q)e:
Whether Spring should use its class cache or not dEL"(e#0s4
是否spring应该使用自身的cache Z.(x|Q9
Oei2,3l,?
struts.objectTypeDeterminer 8PS:yBkA|
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0-HE, lv
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 L,/i%-J3c
rT) R*3
struts.serve.static.browserCache g7F
Z -
If static content served by the Struts filter should set browser caching header properties or not Bb`^,?m
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I\23as0q
Y'h'8
\
struts.serve.static Q.AM
Whether the Struts filter should serve static content or not vsR ^aVwVZ
是否struts过滤器应该提供静态内容 ~MOCr
dY.uOafr
struts.tag.altSyntax 9U*vnLB
Whether to use the alterative syntax for the tags or not [9^e
u>)A
是否可以用替代的语法替代tags i6kyfOI
e{:qW'%
struts.ui.templateDir 8<
-Vkr
The directory containing UI templates |L&V-f&K
UI templates的目录夹 m`"s$\fah
Hyg?as>}u
struts.ui.theme ')V5hKb^
The default UI template theme E>D@#I>
默认的UI template主题 =x}/q4}L
^D|c
struts.url.http.port STI3|}G*P
The HTTP port used by Struts URLs o*xEaD
设置http端口 wP9C\W;
.Dmvgi]
struts.url.https.port xWm'E2
The HTTPS port used by Struts URLs B!v1gh
设置https端口 0a'y\f:6*
='j
struts.url.includeParams j@2 hI,+
The default includeParams method to generate Struts URLs ~k3r$e@
在url中产生 默认的includeParams L8J/GVmj
?6bE!36
OA0\b_
struts.velocity.configfile RFdN13sJv
The Velocity configuration file path 9[*kpMC
velocity配置文件路径 \ck3y]a[
0&x)5^lG
struts.velocity.contexts #a&Vx&7L
List of Velocity context names L%"Mp(gZ
velocity的context列表 s7?kU3y=s
ov~m?Y]h
r.GjM#X
struts.velocity.manager.classname ?8 F7BS4oQ
org.apache.struts2.views.velocity.VelocityManager implementation class ORoraEK
org.apache.struts2.views.velocity.VelocityManager接口名 :Us-^zVr
pqK3u)
struts.velocity.toolboxlocation QWkw$mcf
The location of the Velocity toolbox b/EvcN8 }
velocity工具盒的位置 (LjY<dQO
struts.xslt.nocache [F%\1xh
Whether or not XSLT templates should not be cached SZPu"O\
是否XSLT模版应该被缓存 /iK )tl|X