struts2的struts.properties配置文件详解 * hs&^G
src9EeiV
struts.action.extension w{W+WJ
The URL extension to use to determine if the request is meant for a Struts action A O:F*%Q u
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Qfn:5B]tI
d%8n
struts.configuration <YU?1y?V
The org.apache.struts2.config.Configuration implementation class !XtG6ON=
org.apache.struts2.config.Configuration接口名 'v]0;~\mp>
2&4nf/sE
struts.configuration.files 0~ho/ _
A list of configuration files automatically loaded by Struts {cs>Sy
4
struts自动加载的一个配置文件列表 kg^0 %-F
k9x[(
#
struts.configuration.xml.reload @
8H$
Whether to reload the XML configuration or not VP#KoX85
是否加载xml配置(true,false)
J
8%gC
z}MxMx
c4h
struts.continuations.package `"=>lu2H
The package containing actions that use Rife continuations ;A,X,f
含有actions的完整连续的package名称 n2mO-ZXud
ircF3P>a?
struts.custom.i18n.resources n*7^lAa2
Location of additional localization properties files to load ,->K)Rs ;
加载附加的国际化属性文件(不包含.properties后缀) &4-;;h\H
r%=-maPL[
struts.custom.properties B"_O!
Location of additional configuration properties files to load 2GptK"MrD
加载附加的配置文件的位置 v?VDASR2`
>Q /;0>V
V$ H(a`!
struts.devMode c7XBZ%D
Whether Struts is in development mode or not ,'s}g,L
是否为struts开发模式 ?62Im^1/
qLCNANWnd
struts.dispatcher.parametersWorkaround 9A"s7iJ)
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'SXHq>#gA
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o.ZR5 `.
!_W/p`Tc
struts.enable.DynamicMethodInvocation s/7Z.\
Allows one to disable dynamic method invocation from the URL *tUOTA 3L
允许动态方法调用 3>h2W
M^Sa{S*?
struts.freemarker.manager.classname q-`&C
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SZKYq8ZA)V
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~,}|~
lbAhP+B
struts.i18n.encoding Fx:38Ae
The encoding to use for localization messages %V>%AP
国际化信息内码 lI?P_2AaS
k'st^1T
struts.i18n.reload relt7 sK
Whether the localization messages should automatically be reloaded q!c=f!U?\l
是否国际化信息自动加载 XkA] 9,@
6M
>@DRZ'|
struts.locale 5sT3|yq
The default locale for the Struts application to?! qxn
默认的国际化地区信息 1sHjM%
mXz*Gi
struts.mapper.class `6~0W5
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :K6JrS
org.apache.struts2.dispatcher.mapper.ActionMapper接口 W0f^!}f(
PLkS-B
struts.multipart.maxSize i47LX;}
The maximize size of a multipart request (file upload) JdS,s5Z>
multipart请求信息的最大尺寸(文件上传用) R;!,(l
D./{f8
struts.multipart.parser GeP={lj
The org.apache.struts2.dispatcher.multipart. O^cC+@l!4
MultiPartRequest parser implementation for a multipart request (file upload) qnp}#BZ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n<C]
6H
<L]Gk]k_R
jfMkN
struts.multipart.saveDir TaRPMKk
The directory to use for storing uploaded files VW\S>=O99
设置存储上传文件的目录夹 b$b;^nly
bA)nWWSg=
struts.objectFactory J1G}l5N
The com.opensymphony.xwork2.ObjectFactory implementation class AIg4u(j
com.opensymphony.xwork2.ObjectFactory接口(spring) %D4)Bqr
dL$ iTSfz"
struts.objectFactory.spring.autoWire ;z4J)qw
Whether Spring should autoWire or not 8'*x88+
是否自动绑定Spring z,aMbgt
O(/~cQ
struts.objectFactory.spring.useClassCache }&vD(hX
Whether Spring should use its class cache or not T_D3WHp
是否spring应该使用自身的cache I;w!
c -k3<|H`
struts.objectTypeDeterminer 67(s\
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (X "J)xaQ
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U
3<
3 T
?>B?*IK!
struts.serve.static.browserCache K) }1;
If static content served by the Struts filter should set browser caching header properties or not \#,2#BmO"E
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ye.6tlW
@*y4uI6&
struts.serve.static .aT@'a{F
Whether the Struts filter should serve static content or not K;6#v%
是否struts过滤器应该提供静态内容 ':(AiD -}
:GIBB=D9
struts.tag.altSyntax [\W&
Whether to use the alterative syntax for the tags or not %'1iT!g8
是否可以用替代的语法替代tags r0}x:{$M
A^,E~Z!x
struts.ui.templateDir Pdf-2
Tx
The directory containing UI templates ~LuGfPO^
UI templates的目录夹 6=/sEz S'
J3mLjYy
struts.ui.theme J]U_A/f
The default UI template theme !MKecRG_
默认的UI template主题 m+!.H\
J!l/.:`6
struts.url.http.port <W#G)c0
The HTTP port used by Struts URLs :Dty([
设置http端口 n0lOq
*<sc[..)
struts.url.https.port ~pZ0B#K
J
The HTTPS port used by Struts URLs &{? M} 2I
设置https端口 sbmtx/%U
+bE{g@%@+
struts.url.includeParams %4Lo Em=U
The default includeParams method to generate Struts URLs KyNu8s k
在url中产生 默认的includeParams K[icVT2v~
+ Tp% *
lMFo)4&P
struts.velocity.configfile K? o p3}f?
The Velocity configuration file path |aP`hVm
velocity配置文件路径 ;d}>8w&tfy
Z4i))%or
struts.velocity.contexts x:Q\pZ
List of Velocity context names !\7M7
velocity的context列表 ~6;I"0b5
3`&FXgo
rp4D_80q
struts.velocity.manager.classname R0qZxoo
org.apache.struts2.views.velocity.VelocityManager implementation class bN/8 ~!
org.apache.struts2.views.velocity.VelocityManager接口名 R>0[w$
SEM?vQ
0"}
struts.velocity.toolboxlocation HTYyX(ya
The location of the Velocity toolbox X|a{Z*y;r*
velocity工具盒的位置 q~}oU5
struts.xslt.nocache Tv"T+!Z
Whether or not XSLT templates should not be cached UDI\o1Rbp
是否XSLT模版应该被缓存 $_F_%m"\