struts2的struts.properties配置文件详解 'yG4
LF
-0{r>,&Mm
struts.action.extension #S*/bao#
The URL extension to use to determine if the request is meant for a Struts action |\IN.W[EL
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G5aieD.#
Ne{?:h.!
struts.configuration
+:!7L=N#
The org.apache.struts2.config.Configuration implementation class 27O|).yKX
org.apache.struts2.config.Configuration接口名 Q&=w_Wc
4V i`* !
struts.configuration.files 1A G<$d5U|
A list of configuration files automatically loaded by Struts >A"v ed8
struts自动加载的一个配置文件列表 DiwxXqY
\T :i{.i
struts.configuration.xml.reload BB*f4z$Y%
Whether to reload the XML configuration or not ~8P!XAU56%
是否加载xml配置(true,false) 5l 2 ?
IIF]/Ek]
struts.continuations.package se>8 Z4
The package containing actions that use Rife continuations hYNY"VB
含有actions的完整连续的package名称 k_5L4c:"
^2on.N q>
struts.custom.i18n.resources vZ&T}H~8
Location of additional localization properties files to load iwp{%FF
加载附加的国际化属性文件(不包含.properties后缀) Bb^;q#S1
+|'c>,?2H
struts.custom.properties Hmd]
FC,_
Location of additional configuration properties files to load e .2ib?8
加载附加的配置文件的位置 pU%n]]qF
p~^D\jR.
'H&2HXw&2
struts.devMode XJ` ]ga
Whether Struts is in development mode or not o(LFh[
是否为struts开发模式 &cHV7
o9%)D<4M
struts.dispatcher.parametersWorkaround bM!_e3ik;
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w2Jf^pR
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +*T7@1
Dhw(#{N
struts.enable.DynamicMethodInvocation UU mTOJr
Allows one to disable dynamic method invocation from the URL 2w_W Adi
允许动态方法调用 8I8
F/47x
$.PuK~}
struts.freemarker.manager.classname 'y2nN=CN
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PQnF
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !^=*Jq>
,dov<U[ia
struts.i18n.encoding 6) -X
The encoding to use for localization messages Ov4y%Pj
国际化信息内码 o(
RG-$
-o[x2u~n\
struts.i18n.reload =;3Sx::=
Whether the localization messages should automatically be reloaded Iw&vTU=2
是否国际化信息自动加载 {fF3/tL
k*E\B@W>
struts.locale wF,UE_
The default locale for the Struts application iH@yCNE"
默认的国际化地区信息 VsgE!/>1
X4AyX.p
struts.mapper.class ZP*q4:
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sCi s4gX.]
org.apache.struts2.dispatcher.mapper.ActionMapper接口 2`>T oWN!
9{}1r2xW
struts.multipart.maxSize wEE\+3b)
The maximize size of a multipart request (file upload) #Jn_c0
multipart请求信息的最大尺寸(文件上传用) ?ROqn6k&c
RwPN gRF
struts.multipart.parser ^3{TZ=_;|
The org.apache.struts2.dispatcher.multipart. N#7QzB9]
MultiPartRequest parser implementation for a multipart request (file upload) #PanfYR
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) e8]\U/
8V)^R(\;
r>"
struts.multipart.saveDir RGg(%.
The directory to use for storing uploaded files n'01Hh`0
设置存储上传文件的目录夹 oA7;.:3
C>$E%=h+_
struts.objectFactory 2H6,'JK@F
The com.opensymphony.xwork2.ObjectFactory implementation class "
'6;/N
com.opensymphony.xwork2.ObjectFactory接口(spring) qg!|l7e
~j5x+yC
struts.objectFactory.spring.autoWire ,:`4%
Whether Spring should autoWire or not jJY"{foWV
是否自动绑定Spring f3{MvAy[
:Jy'#c
struts.objectFactory.spring.useClassCache C] 9p5Hs
Whether Spring should use its class cache or not U{z9>
是否spring应该使用自身的cache *@Y3oh}S
6s\Kt3=
struts.objectTypeDeterminer .k9{Yv0
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7J|VD#DE$Y
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0-|byAh
\B 0ywN?
struts.serve.static.browserCache ;3: q?&
If static content served by the Struts filter should set browser caching header properties or not !{)tSipd
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xw
T%),
M57T2]8,
struts.serve.static w{uuSe
Whether the Struts filter should serve static content or not }_;!hdYq
是否struts过滤器应该提供静态内容 g'=B%eO$j:
.I'o
struts.tag.altSyntax c`WHNky%j
Whether to use the alterative syntax for the tags or not R~jHr
)0.#
是否可以用替代的语法替代tags IS[thbzkZ
./D$dbu3
struts.ui.templateDir IlE_@gS8
The directory containing UI templates O:"*q&;J
UI templates的目录夹 =gvBz | +
r8&^>4
struts.ui.theme OD 3f.fT
The default UI template theme On@<J&%
默认的UI template主题 4RV%Z!kcD!
*
Y7jl#7
struts.url.http.port
`|#Qx3n%
The HTTP port used by Struts URLs ] GTAq
设置http端口 :ORR_f`>
}kK[S|XVO
struts.url.https.port 4e;yG>
The HTTPS port used by Struts URLs GbA.UM~
设置https端口 WN5`;{\
bi&*9K0
struts.url.includeParams HXYRH
The default includeParams method to generate Struts URLs UybW26C;aU
在url中产生 默认的includeParams _uKZ Ml
dT$M y`>
qY$qaM^=
struts.velocity.configfile *B\H-lp?
The Velocity configuration file path n?ctLbg
velocity配置文件路径 |'+eMl
#8bsxx!s
struts.velocity.contexts !\#_Jw%y
List of Velocity context names <b?!jV7
velocity的context列表 u4neXYSy
bb`':3%
P<2+L|X?}
struts.velocity.manager.classname |vMpXiMxxT
org.apache.struts2.views.velocity.VelocityManager implementation class <~X >[PK<
org.apache.struts2.views.velocity.VelocityManager接口名 gEhN3(
wwoweztER
struts.velocity.toolboxlocation P"?FnTbv[
The location of the Velocity toolbox 7Wa?$6d
velocity工具盒的位置 ?@t d
struts.xslt.nocache :nS;W
Whether or not XSLT templates should not be cached G,<T/f
.{$
是否XSLT模版应该被缓存 A'K%WW*'U