struts2的struts.properties配置文件详解 bqp^\yu-E
V3r)u\ o'
struts.action.extension ED" fi$
The URL extension to use to determine if the request is meant for a Struts action >D}|'.&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 DG0I-"s
k.o8!aCm
struts.configuration SBs! 52
The org.apache.struts2.config.Configuration implementation class sK&kp=zu
org.apache.struts2.config.Configuration接口名 @F$}/
{2D|,yH=
struts.configuration.files ~K<h~TNP
A list of configuration files automatically loaded by Struts ,r]H+vWS
struts自动加载的一个配置文件列表 -38"S;M8
)cZHBG.0H
struts.configuration.xml.reload .>.GQUr
Whether to reload the XML configuration or not #=33TvprR2
是否加载xml配置(true,false) xa<KF
O"\_%=X9
struts.continuations.package bGK*1FlH
The package containing actions that use Rife continuations EJb+yy6
含有actions的完整连续的package名称 |O oczYf
Yg,b
;H
struts.custom.i18n.resources w\eC{,00:
Location of additional localization properties files to load /4c`[
加载附加的国际化属性文件(不包含.properties后缀) 4Y2I'~'
T6=|)UTe1
struts.custom.properties V+@ }dJS
Location of additional configuration properties files to load ,Tegrz&G
加载附加的配置文件的位置 7Hgn/b[?b
rwP)TJh"
6-TYOUm
struts.devMode 1IS1P)4_0
Whether Struts is in development mode or not Dykh|"
是否为struts开发模式 f5b|,JJ
3!fR'L/i
struts.dispatcher.parametersWorkaround &0%Zb~ts
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F --b,,
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j%-Ems*H
\ERxr
struts.enable.DynamicMethodInvocation F8{gJaP x
Allows one to disable dynamic method invocation from the URL YGLq~A
允许动态方法调用 v~T)g"_|
i$@xb_
struts.freemarker.manager.classname D6&P9e_5
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jl(D;JnF
org.apache.struts2.views.freemarker.FreemarkerManager接口名 UXdc'i g
Qj_)^3`e
struts.i18n.encoding YI"!&a'yj
The encoding to use for localization messages #0uu19+}
国际化信息内码 "RK"Pn+
Mog [,{w
struts.i18n.reload C,W_0=!e
Whether the localization messages should automatically be reloaded U]vUa^nG
是否国际化信息自动加载 HJ]e%og
e7{6<[k3+$
struts.locale 3C%|src
The default locale for the Struts application b|DU
默认的国际化地区信息 Sk!' 2y*@&
zF[Xem
struts.mapper.class )xa)$u
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $hcv}<$/
org.apache.struts2.dispatcher.mapper.ActionMapper接口 @<pd@Mpf]
R8u8jG(4
struts.multipart.maxSize p}1gac_c
The maximize size of a multipart request (file upload) ]?D$n
multipart请求信息的最大尺寸(文件上传用) 7qOkv1.}0
_BerHoQd
struts.multipart.parser g |?}a]G
The org.apache.struts2.dispatcher.multipart. %%?}db1n
MultiPartRequest parser implementation for a multipart request (file upload) U,v`md@PX
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |UWIV
Kb<c||2Nh5
]1d)jWG
struts.multipart.saveDir _BJ:GDz>
The directory to use for storing uploaded files % R25, V
设置存储上传文件的目录夹 d$bO.t5CLh
r/a@ x9
struts.objectFactory gL&w:_
The com.opensymphony.xwork2.ObjectFactory implementation class { >[ ]iX
com.opensymphony.xwork2.ObjectFactory接口(spring) V61oK
/4pYhJ8S
struts.objectFactory.spring.autoWire
lqL5V"2Y
Whether Spring should autoWire or not t`|Rn9-
是否自动绑定Spring @YH>|{S&
=5B5
struts.objectFactory.spring.useClassCache [#Gu?L_W
Whether Spring should use its class cache or not @#t<!-8d
是否spring应该使用自身的cache qg`ae
Zn
r4^i&(
struts.objectTypeDeterminer $poIWJM c
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gAsmPI.K
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 zx=eqN@!@
F) Q[ cai
struts.serve.static.browserCache [|eIax xR,
If static content served by the Struts filter should set browser caching header properties or not XdV>6<gf{
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !wpK
+.D
mkyYs[
struts.serve.static lV^:2I/
Whether the Struts filter should serve static content or not :6t73\O
是否struts过滤器应该提供静态内容 h;+O96V4.
>TCit1yD
struts.tag.altSyntax dO1m
Whether to use the alterative syntax for the tags or not PDA9.b<q0
是否可以用替代的语法替代tags RS}_cm0
l{C]0^6>i
struts.ui.templateDir ]oSx]R>{f
The directory containing UI templates YQd($
UI templates的目录夹 fcF| m5
NJr)f
struts.ui.theme zNKB'hsK
The default UI template theme H.{Fw j4
默认的UI template主题 Ayqs~&{
4C_1wk('
struts.url.http.port 5!Y\STn
The HTTP port used by Struts URLs IO8 @u;&
设置http端口 %u&Vt"6m=
tyW[i8)O}
struts.url.https.port z,m3U(
The HTTPS port used by Struts URLs _oBx:G6E
设置https端口 Y96<c" t
eF{uWus
struts.url.includeParams v+Y^mV`|
The default includeParams method to generate Struts URLs ^i_v\E[QU
在url中产生 默认的includeParams yQj J-g(.
w2'z~\dG8
Z'k?lkB2i
struts.velocity.configfile 2'M5+[8y8
The Velocity configuration file path ]3*w3Y!XK
velocity配置文件路径 vW*Mf}=
,=Wj*S)~
struts.velocity.contexts H'YK j'
List of Velocity context names %_Lz0L64k
velocity的context列表 z$%8'
D60quEe3%
*lLCH,
struts.velocity.manager.classname URm<