struts2的struts.properties配置文件详解 FeS
,TQ4j
AX&Emz-
struts.action.extension GIkeZV{4}
The URL extension to use to determine if the request is meant for a Struts action o3\^9-jmp
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6iXV
?./fVoA]V
struts.configuration 1u5^a^O(|
The org.apache.struts2.config.Configuration implementation class ]K8G}|Wy6
org.apache.struts2.config.Configuration接口名 -hfkF+=U'
suIYfjh
struts.configuration.files o<p4r}*AVJ
A list of configuration files automatically loaded by Struts %-fS:~$
struts自动加载的一个配置文件列表 p
%.Adxx
g$mMH
struts.configuration.xml.reload *2N0r2t&
Whether to reload the XML configuration or not Ac{Tq iIv
是否加载xml配置(true,false) ^b~ZOg[p
)(yaX
struts.continuations.package v!DK.PZbi
The package containing actions that use Rife continuations )Ghw!m
含有actions的完整连续的package名称 {S-M] LE
J E5qR2VA
struts.custom.i18n.resources **z^aH?B2
Location of additional localization properties files to load ~`Vo0Z*S
加载附加的国际化属性文件(不包含.properties后缀) pzjNi=vhd
8kSyT'kC%
struts.custom.properties ]8OmYU%6V
Location of additional configuration properties files to load h+!R)q8M
加载附加的配置文件的位置 etX(~"gG_
\p}GW
k >.U !
struts.devMode 6Y6t.j0vN.
Whether Struts is in development mode or not w;(=wN\
是否为struts开发模式 q&3(yhx
/qwY/^
struts.dispatcher.parametersWorkaround !mWm@}Ujg
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _<2{8>EVf
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) AB0}6g^O
~.J*_0~Ze
struts.enable.DynamicMethodInvocation 6vTnm4
Allows one to disable dynamic method invocation from the URL gaNe\
允许动态方法调用 _,v?rFLE
+t*I{X(
struts.freemarker.manager.classname uit.r^8l
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class pRxVsOb
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~*\ *8U@7
"Xwsu8~
struts.i18n.encoding G(shZ=fq
The encoding to use for localization messages 3G 5xIr6
国际化信息内码 (RrC<5"
o(> #}[N}
struts.i18n.reload Z
eY*5m
Whether the localization messages should automatically be reloaded 1#;^Z3
是否国际化信息自动加载 =_3rc\0
Eb6cL`#N
struts.locale &}C-W*
f,Z
The default locale for the Struts application KRn[(yr`%
默认的国际化地区信息 yKK9b
@].!}tz
struts.mapper.class \kY:|T
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class XV4aR3n{Q
org.apache.struts2.dispatcher.mapper.ActionMapper接口 }X=c|]6i^
Sfc,F8$&N
struts.multipart.maxSize y=+OC1k\8
The maximize size of a multipart request (file upload) nQ|($V1?W
multipart请求信息的最大尺寸(文件上传用) [euR<i*I#
qe?Ns+j<d
struts.multipart.parser I`jG
The org.apache.struts2.dispatcher.multipart. l O*
MultiPartRequest parser implementation for a multipart request (file upload) tQxxm=>
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $_eJ@L#
&Qj1uf92.
Ma(Q~G
.
struts.multipart.saveDir ~@QAa (P.
The directory to use for storing uploaded files "|Y y"iB[
设置存储上传文件的目录夹 .X)Wb{7
Ay^P#\VZ
struts.objectFactory MT)q?NcG
The com.opensymphony.xwork2.ObjectFactory implementation class ,Csjb1
com.opensymphony.xwork2.ObjectFactory接口(spring) P*%P"g
c=?6`m,"M
struts.objectFactory.spring.autoWire i|,}y`C#
Whether Spring should autoWire or not YwZx{%f
是否自动绑定Spring 4s'%BM-r-
L:?Ew9Lf
struts.objectFactory.spring.useClassCache /[/{m ]
Whether Spring should use its class cache or not *}Gys/\!S
是否spring应该使用自身的cache rK}sQ4z=
UA]T7r@
struts.objectTypeDeterminer 1=9GV+`n
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
}hm_Ws
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5 b,|6
ypemp=+(r
struts.serve.static.browserCache -`z%<)!Y
If static content served by the Struts filter should set browser caching header properties or not n_Y7*3/b-o
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U H+#Nel+!
qkp0' f*}
struts.serve.static x;} 25A|
Whether the Struts filter should serve static content or not 31#jLWY'0
是否struts过滤器应该提供静态内容 UmMu|`
{]0T
struts.tag.altSyntax xC0y2+)|
Whether to use the alterative syntax for the tags or not R- ,L"Vv
是否可以用替代的语法替代tags ,z`D}<3
<}c7E3Uc
struts.ui.templateDir vpdPW %B
The directory containing UI templates XN?my@_HpM
UI templates的目录夹 :P%?!'M
8r@GoG>
struts.ui.theme M0)0~#?.D
The default UI template theme c(b`eUOO
默认的UI template主题 FjiIB1
T
s`[V{1m,
struts.url.http.port h -091N
The HTTP port used by Struts URLs L*4=b
(3
设置http端口 Y,,Z47%
E
O7.eq524
struts.url.https.port d1t_o2
The HTTPS port used by Struts URLs +7
j/.R
设置https端口 4f~q$Sf]<
lg ,%
struts.url.includeParams kVt/Hhd9
The default includeParams method to generate Struts URLs <HS{A$]
在url中产生 默认的includeParams MY z!zI
U#w0 E G
ZZ :*c"b:
struts.velocity.configfile E KN<KnU%
The Velocity configuration file path 1;{nU.If
velocity配置文件路径 $83Qd
/P46k4M1U
struts.velocity.contexts i|/G!ht^e
List of Velocity context names ux6)K= ]
velocity的context列表 MU `!sb*
xdaq` ^Bbt
d|~'#:y@
struts.velocity.manager.classname P%Q'w
org.apache.struts2.views.velocity.VelocityManager implementation class 2\|sXC
org.apache.struts2.views.velocity.VelocityManager接口名 $$Ibr]$5
Q?([#
struts.velocity.toolboxlocation R*k;4*1u
The location of the Velocity toolbox a0B%x!y^
velocity工具盒的位置 RX^8`}N
struts.xslt.nocache CO@ kLI
Whether or not XSLT templates should not be cached )Wt&*WMFXl
是否XSLT模版应该被缓存 @ <4 U &