struts2的struts.properties配置文件详解 ZObhF#Y9
OPx`u
struts.action.extension .b-f9qc=
The URL extension to use to determine if the request is meant for a Struts action y1bbILWej
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x\s|n{
/i-J&*6_
struts.configuration S!3S4:]B^
The org.apache.struts2.config.Configuration implementation class .%Ta]!0
org.apache.struts2.config.Configuration接口名 0 rXx RQ
24 )(5!:"
struts.configuration.files Qe}`~a9P
A list of configuration files automatically loaded by Struts vL\&6n~M>
struts自动加载的一个配置文件列表 TT4./R:
f/Hm{<BY
struts.configuration.xml.reload 0;:.B
j
Whether to reload the XML configuration or not Wr3mQU
是否加载xml配置(true,false) [I$BmGQ
u*tN)f3
struts.continuations.package :SGF45>B@
The package containing actions that use Rife continuations 9lW;Nk*j:
含有actions的完整连续的package名称 Yl#Rib
j
S?xk
struts.custom.i18n.resources RQ'H$r.7g
Location of additional localization properties files to load aP8H`^DFX>
加载附加的国际化属性文件(不包含.properties后缀) Rx);7j/5
nZ@&2YPlem
struts.custom.properties 8&3V#sn'
Location of additional configuration properties files to load '&gF>
加载附加的配置文件的位置 E gal4
`}lJH i
bBS,-vN
struts.devMode p Wt)
A
Whether Struts is in development mode or not ;+<&8.=,)
是否为struts开发模式 1!1beR]
&b?LP]
struts.dispatcher.parametersWorkaround `(f!*Ru@/z
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic sM?MLB\Za
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %T)oCjM[\
kWe{r5C7
struts.enable.DynamicMethodInvocation }2uI?i8
Allows one to disable dynamic method invocation from the URL hvuIxqv !y
允许动态方法调用 %9M~f*
0LfU=X0#7
struts.freemarker.manager.classname &znQ;NH#
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KA){''>8
org.apache.struts2.views.freemarker.FreemarkerManager接口名 & M~`:R
LF~*^n>
struts.i18n.encoding Ircp``g
The encoding to use for localization messages 9f',7i
国际化信息内码 ZP;j9T!
KTn}w:+B\
struts.i18n.reload mN>h5G>a
Whether the localization messages should automatically be reloaded ~d%Pnw|
是否国际化信息自动加载 FFH_d <q
NDs!a
struts.locale niqN{
The default locale for the Struts application `xywho%/Y
默认的国际化地区信息 gOr%!QaF
`S2[5i
struts.mapper.class 8g:;)u4$P
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class BVr0Gk
org.apache.struts2.dispatcher.mapper.ActionMapper接口 GW$.lo1|)
+[R/=$
struts.multipart.maxSize 3$m4q`J
The maximize size of a multipart request (file upload) 1\g6)|R-+
multipart请求信息的最大尺寸(文件上传用) P#_sg0oJF
m^H21P"z
struts.multipart.parser F6K4#t+9
The org.apache.struts2.dispatcher.multipart. qnoNT%xazo
MultiPartRequest parser implementation for a multipart request (file upload) s_>
f5/i2
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (d<4"!
r4QxoaM
A%^w^f
struts.multipart.saveDir XvE9b5}
The directory to use for storing uploaded files QR
Ei7@t
设置存储上传文件的目录夹 5Pd"h S
.9"Y_/0
struts.objectFactory V\{tmDE
The com.opensymphony.xwork2.ObjectFactory implementation class #F*1V(!
com.opensymphony.xwork2.ObjectFactory接口(spring) ,daKC
^~$)F_`"
struts.objectFactory.spring.autoWire RgGyoZ
Whether Spring should autoWire or not _x?uU
是否自动绑定Spring ObE,$_ k
;+tpvnV;]
struts.objectFactory.spring.useClassCache GD:4"$)[o
Whether Spring should use its class cache or not :sP!p`dl
是否spring应该使用自身的cache 3Ezy %7
jWY$5Vq<H
struts.objectTypeDeterminer ?APeR,"V
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S=nP[s
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ecgtUb8K
}Y*VAnY6;
struts.serve.static.browserCache u_'!_T L
If static content served by the Struts filter should set browser caching header properties or not 4lM8\Lr
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TU GNq
KrXdnY8
struts.serve.static Ai/b\:V9S
Whether the Struts filter should serve static content or not wo3wtx
是否struts过滤器应该提供静态内容 ylB7* >[
m@Qt.4m%g
struts.tag.altSyntax X5`A GyX
Whether to use the alterative syntax for the tags or not KMV=%o
是否可以用替代的语法替代tags ?qX)ihe%k
9&2Vm;F_
struts.ui.templateDir V~hlq$jn<Y
The directory containing UI templates PZm:T+5H
UI templates的目录夹 PNA\ TXT
\T\b NbPn
struts.ui.theme 2{Chu85
The default UI template theme IZm(`b;t^
默认的UI template主题 ^m/oDB-
>(<ytn t=
struts.url.http.port Hsihytdj
The HTTP port used by Struts URLs !j\" w p
设置http端口 :gB[O>'<m
C:uz6i1
struts.url.https.port J8"[6vI d~
The HTTPS port used by Struts URLs LS5vW|]w
设置https端口 Qq@G\eRo
`AkIK*
struts.url.includeParams NO0"* c ;
The default includeParams method to generate Struts URLs 9XHz-+bQ
在url中产生 默认的includeParams Mze;k3
=;3fq-
HoLv`JA
struts.velocity.configfile Sje wuIi1
The Velocity configuration file path JIFU;*PR1
velocity配置文件路径 #CnHf
nD0}wiL{
struts.velocity.contexts X!j{o
List of Velocity context names g
>'p>}t
velocity的context列表 v|ck>_"
.
oP2fX_v1x
)'hH^(Yu
struts.velocity.manager.classname dDD<E?TjD
org.apache.struts2.views.velocity.VelocityManager implementation class v @O&t4
org.apache.struts2.views.velocity.VelocityManager接口名 V=X:=
; h`0ir4[A
struts.velocity.toolboxlocation )m&U#S _;
The location of the Velocity toolbox $%%os6y2v
velocity工具盒的位置 A+&xMM2Wj
struts.xslt.nocache O$g_@B0E1
Whether or not XSLT templates should not be cached oM)h#8bq
是否XSLT模版应该被缓存 2iU7 0(H