struts2的struts.properties配置文件详解 -C2[ZP-
t=\
ffpA
struts.action.extension Mn 8|
Knh
The URL extension to use to determine if the request is meant for a Struts action 9JqT"zj
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]*X z~Ox2
#h#_xh'
struts.configuration bt"5.nm
The org.apache.struts2.config.Configuration implementation class !ir%Pz^)
org.apache.struts2.config.Configuration接口名 \bies1TBB^
3T
/_#=9TV
struts.configuration.files ,T-xuNYC
A list of configuration files automatically loaded by Struts b%h.>ij?
struts自动加载的一个配置文件列表 B2:GGZ|jS
q26qY5D
struts.configuration.xml.reload GBTwQYF
Whether to reload the XML configuration or not 9aYVbq""
是否加载xml配置(true,false) k/M{2Po+
!TN)6e7`
struts.continuations.package H~?7:K
The package containing actions that use Rife continuations BxiR0snf0q
含有actions的完整连续的package名称 DFbhy
sVH
w\_F$
struts.custom.i18n.resources \.?'y71
Location of additional localization properties files to load .IsOU
加载附加的国际化属性文件(不包含.properties后缀) U1D;O}z~
g'9~T8i& ^
struts.custom.properties v=daafO
Location of additional configuration properties files to load ,=[r6k<
加载附加的配置文件的位置 y:Ag mr,S
Ih[k{p
ltv~Kh
struts.devMode ctPT=i60
Whether Struts is in development mode or not ~i]4~bkH2
是否为struts开发模式 NOFH
(_Th4'(@Y
struts.dispatcher.parametersWorkaround M}`T-"qf
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic I0N~>SpZ5
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) iGBHlw;A
SB:z[kfz|
struts.enable.DynamicMethodInvocation )K]<\Q[
Allows one to disable dynamic method invocation from the URL od^o9(.W^
允许动态方法调用 %"e hZd0r
{5 3#Xd
struts.freemarker.manager.classname vcZ"4%w
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Y=/;7T
org.apache.struts2.views.freemarker.FreemarkerManager接口名 4m%Yck{R
s6D Pb_,
struts.i18n.encoding 9fYof
The encoding to use for localization messages +1K=]#a
国际化信息内码 !FQS9SoO9
O' Mma5
struts.i18n.reload J&L#^f*d
Whether the localization messages should automatically be reloaded 55Xfu/hQ
是否国际化信息自动加载 Xif>ZL?aXb
#dFE}!"#`
struts.locale yQq|!'MK k
The default locale for the Struts application qykI[4
默认的国际化地区信息 [;#^h/5E
xs?]DJj
struts.mapper.class )h,}v()qc#
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bRJ]avR
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^vZu[m
(hIe!"s*
struts.multipart.maxSize aN';_tGvK
The maximize size of a multipart request (file upload) } :T}N]
multipart请求信息的最大尺寸(文件上传用) <!-#]6
")u)AQ
struts.multipart.parser u&'&E
The org.apache.struts2.dispatcher.multipart. =j@8/
MultiPartRequest parser implementation for a multipart request (file upload) K,!f7KKo
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [9Hrpo]tU:
%htbEKWR
<U}25AR
struts.multipart.saveDir KssIoP
The directory to use for storing uploaded files P u}PE-b
设置存储上传文件的目录夹 7'7o^>
!
b{,vZhP-
struts.objectFactory j?(@x>HA
The com.opensymphony.xwork2.ObjectFactory implementation class .p'\@@o5
com.opensymphony.xwork2.ObjectFactory接口(spring) #B__-"cRv
7 .xejz
struts.objectFactory.spring.autoWire ,%KMi-w]q,
Whether Spring should autoWire or not YVO~0bX:
是否自动绑定Spring XeXK~
!/Wv\qm
struts.objectFactory.spring.useClassCache CYNpbv
Whether Spring should use its class cache or not ?xt${?KP
是否spring应该使用自身的cache _mDvRFq
R/&C}6Gn
struts.objectTypeDeterminer }S9uh-j6l
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h=_h,?_
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _2eL3xXha.
*B+YG^Yu^
struts.serve.static.browserCache X'5+)dj
If static content served by the Struts filter should set browser caching header properties or not u2 U4MV1C
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &.:yP3
;{rl
Y>
struts.serve.static
&_Z8:5e
Whether the Struts filter should serve static content or not =@k3*#\
是否struts过滤器应该提供静态内容 6K5KkEp
_LLE~nUK"/
struts.tag.altSyntax yF1^/y!@
Whether to use the alterative syntax for the tags or not |bmc6G[
是否可以用替代的语法替代tags _aOsFFB1KF
}J:WbIr0!
struts.ui.templateDir 5G#K)s(QC
The directory containing UI templates @TnAO8Q>XD
UI templates的目录夹 :yAvo4)
g%d&>y?1r
struts.ui.theme BYs^?IfW
The default UI template theme !B&1{
默认的UI template主题 G/8G`teAZ
V__n9L/t
struts.url.http.port wqp(E+&
The HTTP port used by Struts URLs yGPi9j{QXq
设置http端口 +,}CuF
0'Qo eFKG
struts.url.https.port 2
Xc,c*r
The HTTPS port used by Struts URLs i{2rQy+
设置https端口 ++0xa%:
l7GLN1#m
struts.url.includeParams ^i~'aq
The default includeParams method to generate Struts URLs (9D,Ukw
在url中产生 默认的includeParams umc\x"i%
!& xc.39
E%>){Y)
struts.velocity.configfile _:l<4u!
The Velocity configuration file path HltURTbI
velocity配置文件路径 ,_yf5 a
As*59jkB
struts.velocity.contexts Q_n9}LanP
List of Velocity context names R P6R1iN3
velocity的context列表 siGt5RH*
&MF%zJ6
5P
< F
struts.velocity.manager.classname !yX4#J(
org.apache.struts2.views.velocity.VelocityManager implementation class VUGVIy.
org.apache.struts2.views.velocity.VelocityManager接口名 5>[j^g+@
>a1ovKF
struts.velocity.toolboxlocation AT,?dxP J
The location of the Velocity toolbox c95{Xy
velocity工具盒的位置 %Tv^BYQAZ
struts.xslt.nocache [KjL`
Whether or not XSLT templates should not be cached @g'SH:}
是否XSLT模版应该被缓存 Mkadl<