struts2的struts.properties配置文件详解 *5wb8[
{ 2-w<t
struts.action.extension VPK)HzPG,
The URL extension to use to determine if the request is meant for a Struts action ee6Zm+.B
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jQc$>M<"o
S-My6'ar
struts.configuration u)%J5TR .Y
The org.apache.struts2.config.Configuration implementation class &}6=V+J;
org.apache.struts2.config.Configuration接口名 ;vuok]@
I6\l6 o
struts.configuration.files [(]uin+9Q
A list of configuration files automatically loaded by Struts 2: fSn&*/>
struts自动加载的一个配置文件列表 ; R}:2
Tk)y*y
struts.configuration.xml.reload tMC<\e
Whether to reload the XML configuration or not <.#i3!
是否加载xml配置(true,false) fi`*r\
C4ge_u#
struts.continuations.package ``U>9S"p)
The package containing actions that use Rife continuations MK,#"Ty}zK
含有actions的完整连续的package名称 ONg_3vD{
GkVV%0;&J1
struts.custom.i18n.resources CPAizS
Location of additional localization properties files to load t '* L,
加载附加的国际化属性文件(不包含.properties后缀) p%8y!^g
/ F9BbG{
struts.custom.properties *IfLoKS'
Location of additional configuration properties files to load 0jG8Gmh!
加载附加的配置文件的位置 Z+JPxe#7
"RiY#=}sm
Z
sv(/>
struts.devMode *}Vg]3$4
Whether Struts is in development mode or not IOomBy:
是否为struts开发模式 wm_xH_{F
Dhv ^}m@
struts.dispatcher.parametersWorkaround 5V8WSnO
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >E6w,Ab
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >,7-cm=.
,x&T8o/a
struts.enable.DynamicMethodInvocation #,lJ>mTe4
Allows one to disable dynamic method invocation from the URL [s"xOP9R
允许动态方法调用 VI/77
$zKf>[K
struts.freemarker.manager.classname RX \%R
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6;Wns'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 /{|JQ'gqX
3vepJ)D (
struts.i18n.encoding SN'j?-
The encoding to use for localization messages D.su^m_1
国际化信息内码 R0HzNk
)T&ZiHIJ3
struts.i18n.reload gd#+N]C_
Whether the localization messages should automatically be reloaded @T)kqT
是否国际化信息自动加载 XOsuRI?
LR%]4$ /M
struts.locale k>SPtiAs
The default locale for the Struts application !59u z4
默认的国际化地区信息 9bwG3jn4?
?$J#jhR?
struts.mapper.class QbrR=[8b
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x5jd2wSDx
org.apache.struts2.dispatcher.mapper.ActionMapper接口 g:8k,1y5
v)1@Ew=Y%
struts.multipart.maxSize ;auT!a~a#
The maximize size of a multipart request (file upload) fAYp\k
multipart请求信息的最大尺寸(文件上传用) crTRfqF
Nz1u:D]
struts.multipart.parser wNMf-~
The org.apache.struts2.dispatcher.multipart. Qa>t$`o`
MultiPartRequest parser implementation for a multipart request (file upload) 21_sg f?
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &!N9.e:-]
%0&59q]LM
Klrd|;C
struts.multipart.saveDir YMXhzqj
The directory to use for storing uploaded files @^R6}qJ
设置存储上传文件的目录夹 NAg m?d
ecvQEK2L
struts.objectFactory ;iq H:wO
The com.opensymphony.xwork2.ObjectFactory implementation class E7mB=bt>=
com.opensymphony.xwork2.ObjectFactory接口(spring) ON [F
r"YOA@
struts.objectFactory.spring.autoWire M5c$
Whether Spring should autoWire or not 4fSGc8
是否自动绑定Spring @KJ~M3d0l
E/OfkL*\
struts.objectFactory.spring.useClassCache cb82k[L6
Whether Spring should use its class cache or not ?vh1 >1D
是否spring应该使用自身的cache %^pm~ck!
|pgrR7G'
struts.objectTypeDeterminer GBSuTu8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tqk^)c4FF(
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vLI'Z)\
tw
k
struts.serve.static.browserCache grVPu! B;
If static content served by the Struts filter should set browser caching header properties or not A9Kt^HR
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BMi5F?Q'G
b,hRk1
struts.serve.static xlIVLv6dO
Whether the Struts filter should serve static content or not dj-/%MU
是否struts过滤器应该提供静态内容 T\v~"pMu*0
(! a;}V<7
struts.tag.altSyntax 03Uj0.Z|7
Whether to use the alterative syntax for the tags or not 4p<c|(f#
是否可以用替代的语法替代tags )kIZmQ|f1
XmJ ?oPr7
struts.ui.templateDir dC>[[_
The directory containing UI templates Xx,Rah)X3
UI templates的目录夹 FQ_a=v
<P@ "VwUX
struts.ui.theme Kt3T~k
The default UI template theme tZ>'tE
默认的UI template主题
{c}n."`
H"NBjVRU%
struts.url.http.port xcE2hK/+
The HTTP port used by Struts URLs M.qE$
设置http端口 TdeHs{|
#b,!N
struts.url.https.port weH;,e*r
The HTTPS port used by Struts URLs aOhi<I`*
设置https端口 yRy^'E~
HC!5AJ&+}v
struts.url.includeParams |BEoF[1
The default includeParams method to generate Struts URLs \ lW*.<
在url中产生 默认的includeParams c8h71Cr
O-(gkE
fA)4'7UT
struts.velocity.configfile K?@x'q1
The Velocity configuration file path O^Y@&S RrQ
velocity配置文件路径 =xjtPmZ5X
Esdv+f}4;
struts.velocity.contexts _a\$uVZ
List of Velocity context names tq=7HM
velocity的context列表 w&eq
*q
|33_="
{Q021*xt/
struts.velocity.manager.classname bQ`2ll*(
org.apache.struts2.views.velocity.VelocityManager implementation class '$h0l-mQ
org.apache.struts2.views.velocity.VelocityManager接口名 }6To(*
;>CM1
struts.velocity.toolboxlocation m`&6[[)6~
The location of the Velocity toolbox RveEA/&&
velocity工具盒的位置 mXT{c=N)w
struts.xslt.nocache $C
t(M)
Whether or not XSLT templates should not be cached ef K
WR
是否XSLT模版应该被缓存 C]a iu