struts2的struts.properties配置文件详解 M`Er&nQs
@%R<3!3v
struts.action.extension %x$U(I}
The URL extension to use to determine if the request is meant for a Struts action ~hLan&T
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @dDeOnF
pFd8p@m_2
struts.configuration "n!yK
The org.apache.struts2.config.Configuration implementation class ;"wCBuXcu
org.apache.struts2.config.Configuration接口名 i/ilG3m>
_6ZjF>f
struts.configuration.files LmF ,en5
A list of configuration files automatically loaded by Struts \beO5]KS<
struts自动加载的一个配置文件列表 C8}:z\A_@Z
}9'`3vsJ
struts.configuration.xml.reload ~9dpB>+
Whether to reload the XML configuration or not L8QWEFB|
是否加载xml配置(true,false) %SM;B-/zHt
+J X;T(T
struts.continuations.package senK(kbc
The package containing actions that use Rife continuations @LKQ-<dZG
含有actions的完整连续的package名称 HgF;[rq3Q
)\fY1WD
struts.custom.i18n.resources $RaN@& Wm
Location of additional localization properties files to load *glZb;_
加载附加的国际化属性文件(不包含.properties后缀) +$,Re.WnP
O<gfZ>
struts.custom.properties k&]nF,f
Location of additional configuration properties files to load Z',!LK!
加载附加的配置文件的位置 Ma[EgG
{3tzr ;c?
x%G3L\5
struts.devMode L[G O6l
Whether Struts is in development mode or not ??rS h Mu
是否为struts开发模式 nVb@sI{{k
0mY Y:?v
struts.dispatcher.parametersWorkaround .V?:&_}_I6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g7*)|FOb
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) QU|_
r2LM
a:h<M^n049
struts.enable.DynamicMethodInvocation |"3<\$[
Allows one to disable dynamic method invocation from the URL 7;"0:eX
允许动态方法调用 11[lc2
}{o!
struts.freemarker.manager.classname gb ga"WO
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 200yN+ ec
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~U9K<_U
'ZfgCu)St
struts.i18n.encoding Ey46JO"
The encoding to use for localization messages n+~Dc[
国际化信息内码 }SN( ^3N
sHP-@
struts.i18n.reload eU?hin@X
Whether the localization messages should automatically be reloaded !'7fOP-J]
是否国际化信息自动加载 #%0V`BS7n
gE-y`2SU
struts.locale l4Xz r:]
The default locale for the Struts application rl*O-S/
默认的国际化地区信息 Ifj&S'():
CLb6XnkcA\
struts.mapper.class ~GaGDS\V
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class AZtS4]4G)
org.apache.struts2.dispatcher.mapper.ActionMapper接口 a|aVc'j
bLgH3[{
struts.multipart.maxSize /:&!o2&1H
The maximize size of a multipart request (file upload) l>?c AB[
multipart请求信息的最大尺寸(文件上传用) p*Bty@CRi
hRcb}>pr
struts.multipart.parser 7|P
kc(O
The org.apache.struts2.dispatcher.multipart. U@lc1#
MultiPartRequest parser implementation for a multipart request (file upload) NR{wq|"
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &1xCPKIr
xvr5$x|h
2ej7Ql_@c
struts.multipart.saveDir <qCa9@Ea
The directory to use for storing uploaded files <AHpk5Sn{
设置存储上传文件的目录夹 uy'ghF
W?
iA P
struts.objectFactory Qw5nfg3T
The com.opensymphony.xwork2.ObjectFactory implementation class Wgq|Q*
com.opensymphony.xwork2.ObjectFactory接口(spring) OG,P"sv
z*y!Ml1
struts.objectFactory.spring.autoWire `&$8/_`
Whether Spring should autoWire or not ${+u-Wfau
是否自动绑定Spring c8qr-x1HG
!liV Y]
struts.objectFactory.spring.useClassCache 30Q
p^)K
Whether Spring should use its class cache or not e%4?-{(
是否spring应该使用自身的cache TOYK'|lwM
z3fv}_\z
struts.objectTypeDeterminer bf3!|Um
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L"L3n,%F
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 qfkHGW?1/j
|.IH4
K
struts.serve.static.browserCache ,b+NhxdZ
If static content served by the Struts filter should set browser caching header properties or not R`?l.0
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4JSPD#%f
));#oQol9
struts.serve.static 5sD,gZ7
Whether the Struts filter should serve static content or not g;IlS*Ld
是否struts过滤器应该提供静态内容 T)C@6/
BxY t*b%
struts.tag.altSyntax h$>F}n
j
Whether to use the alterative syntax for the tags or not s:`i~hjq
是否可以用替代的语法替代tags 85{m+1O~
o9?@jjqH
struts.ui.templateDir +>w]T\[1~
The directory containing UI templates ]6&NIz`:,
UI templates的目录夹 \>L,X_DL
r );R/)&
struts.ui.theme /Y Kd [RQ
The default UI template theme d1/emwH
默认的UI template主题 D)_
C@*q
Rd?}<L
struts.url.http.port k_=SDm a
The HTTP port used by Struts URLs NzRvb j]
设置http端口 jXcJ/g(X3
OI R5QH
struts.url.https.port ]n ?x tI
The HTTPS port used by Struts URLs
w-jElV
设置https端口 0MQ= Rt
#F*|@
struts.url.includeParams z(PUoV:?
The default includeParams method to generate Struts URLs ZTC>Ufu2!
在url中产生 默认的includeParams Vs>Pv$kW
w7nt $L5
#XV=,81w
struts.velocity.configfile Er~ 17$b
The Velocity configuration file path C
\ Cc[v
velocity配置文件路径 e_BG%+;G,
Ur j*V0^
struts.velocity.contexts C3AWXO ^
List of Velocity context names 2`yhxO
velocity的context列表 x"W~m.y$h
K
+7
H/8^Fvd
struts.velocity.manager.classname ]5W$EvZ9)
org.apache.struts2.views.velocity.VelocityManager implementation class h#rP]o@
org.apache.struts2.views.velocity.VelocityManager接口名 O--p)\
wak 26W>I3
struts.velocity.toolboxlocation \?bV\/GBR
The location of the Velocity toolbox Pms@!yce
velocity工具盒的位置 ^<]'?4m]
struts.xslt.nocache [^>XRBSm
Whether or not XSLT templates should not be cached a"~o'W7
是否XSLT模版应该被缓存 r4.6W[|d