struts2的struts.properties配置文件详解 AM[jL'r|
i.t9jN
struts.action.extension $}nh[@
The URL extension to use to determine if the request is meant for a Struts action BY*2yp}7
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h
??C4z
'}Wu3X
struts.configuration Q+d.%qhc
The org.apache.struts2.config.Configuration implementation class $%
Ci8p
org.apache.struts2.config.Configuration接口名 gr>o
E#7
9Yl8ndP^E
struts.configuration.files MkDK/K$s
A list of configuration files automatically loaded by Struts eOehgU5x
struts自动加载的一个配置文件列表 bEBBwv
2{e dW+
struts.configuration.xml.reload m-ph}
Whether to reload the XML configuration or not ov`^o25f
是否加载xml配置(true,false) H^D
3NuUC
=_RcoG/^~
struts.continuations.package j /H>0^
The package containing actions that use Rife continuations %{7_E*I@n
含有actions的完整连续的package名称 F#1 Kk#t
a|QE *s.
struts.custom.i18n.resources xHJ8?bD p
Location of additional localization properties files to load kS+r"e
.TM
加载附加的国际化属性文件(不包含.properties后缀) rFmKmV
"{A*(.
struts.custom.properties pw,O"6J*
Location of additional configuration properties files to load [1b6#I"x
加载附加的配置文件的位置 b96t0w!cs
!/Iq{2LX
R9Sf!LR
struts.devMode mRhd/|g*
Whether Struts is in development mode or not c62dorDqy
是否为struts开发模式 vi]r
;)(Sdf[P
struts.dispatcher.parametersWorkaround qzA`d
5rX
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *Y85DEA
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,VNi_.W0
;rB6u_5"I.
struts.enable.DynamicMethodInvocation PiMKu|,3
Allows one to disable dynamic method invocation from the URL #NvQmz?J?
允许动态方法调用 0]AN;
lPM3}52Xu
struts.freemarker.manager.classname BBHK
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Fe!D%p Qv
org.apache.struts2.views.freemarker.FreemarkerManager接口名 q$r&4s)To
F9(._ow[
struts.i18n.encoding t})lr\
The encoding to use for localization messages AV40:y\RW
国际化信息内码 0b/ir 2
bIgh@= 2
struts.i18n.reload r&}(9Cq&"y
Whether the localization messages should automatically be reloaded '_:(oAi,C
是否国际化信息自动加载 qysTjGwa]
w8O" =},
struts.locale KZ=u54
The default locale for the Struts application +R-h ,$\=7
默认的国际化地区信息 d1v<DU>M
%.mEBI=hs
struts.mapper.class Cye
T]y
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9\HR60V
org.apache.struts2.dispatcher.mapper.ActionMapper接口 @;vNX*-J
X1+wX`f
struts.multipart.maxSize yuOS&+,P
The maximize size of a multipart request (file upload) 96d~~2p
multipart请求信息的最大尺寸(文件上传用) *G9sy_
UuU/c-.
struts.multipart.parser /<);=&[
The org.apache.struts2.dispatcher.multipart. ,CP5~4u
MultiPartRequest parser implementation for a multipart request (file upload) (n,u|}8Y
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .evbE O 5
3jjMY
kb71q:[
struts.multipart.saveDir )qL&%xz
The directory to use for storing uploaded files rQ/,XH
设置存储上传文件的目录夹 ! QM.P
t7c
NzQ9Z1Mxy
struts.objectFactory zN#*G
i'
The com.opensymphony.xwork2.ObjectFactory implementation class MtS3p>4
com.opensymphony.xwork2.ObjectFactory接口(spring) Z$p0&~
?38lHn`FyQ
struts.objectFactory.spring.autoWire F]UQuOR)
Whether Spring should autoWire or not <a4TO8
是否自动绑定Spring O*[{z)M.
41G5!=i
struts.objectFactory.spring.useClassCache <Mx0\b!
Whether Spring should use its class cache or not 7tNc=,x}
是否spring应该使用自身的cache F>zl9Vi<
|?d#eQ9a
struts.objectTypeDeterminer Wy4$*$
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K=dR%c(
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 CS 8jA\
u7fK1 ^O
struts.serve.static.browserCache :w`3cwQ
If static content served by the Struts filter should set browser caching header properties or not OoBCY-gj*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j~E",7Q'
33'Y [4
struts.serve.static hoM|P8
}rh
Whether the Struts filter should serve static content or not :Zt2'vcGpf
是否struts过滤器应该提供静态内容 ]0c+/ \b&
iYJZvN
struts.tag.altSyntax #*9-d/K
Whether to use the alterative syntax for the tags or not )? =YT
是否可以用替代的语法替代tags ?m7:if+y
b>\?yL/%+?
struts.ui.templateDir
foRD{Hx
The directory containing UI templates R'}95S<
UI templates的目录夹 FOwnxYGVf
#>[a{<;Kn
struts.ui.theme X(A.X:"
The default UI template theme |TsE-t*E}
默认的UI template主题 {2&m`Dbm
yNg9X(U
struts.url.http.port _;1}x%4v
The HTTP port used by Struts URLs vxFTen{-F
设置http端口 `F t]MR
omSM:f_~
struts.url.https.port 2)X4y"l
The HTTPS port used by Struts URLs Z[Qza13lo
设置https端口 lg:
1x)ZB~L
struts.url.includeParams 7O5`v(<9n>
The default includeParams method to generate Struts URLs 0AK,&nbF
在url中产生 默认的includeParams JyL a#\ R
#KxbM-1=
ko;>#::
struts.velocity.configfile QaIjLc~W
The Velocity configuration file path *N'K/36;
velocity配置文件路径 $
_j[2EU
KRAcnY;u
struts.velocity.contexts k%s_0
@
List of Velocity context names 1MlUG5
velocity的context列表 &;yH@@Z
$+JS&k/'m
]\-^>!F #K
struts.velocity.manager.classname gr-9l0u
org.apache.struts2.views.velocity.VelocityManager implementation class :W#rhuzC
org.apache.struts2.views.velocity.VelocityManager接口名 %nN `|\
{7u[1[L1
struts.velocity.toolboxlocation +gd4\ZG
The location of the Velocity toolbox `?T#Hl>j
velocity工具盒的位置 KmG
struts.xslt.nocache hu_ ^OlF
Whether or not XSLT templates should not be cached ~h}Fi
是否XSLT模版应该被缓存 6E(Qx~iL