struts2的struts.properties配置文件详解 {VcRur}&Y8
'`>%RZ]
struts.action.extension cQ8[XNa
The URL extension to use to determine if the request is meant for a Struts action ~gDYb#p
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 F.[%0b E
,!#Am13
struts.configuration Gv-VDRS
The org.apache.struts2.config.Configuration implementation class Q:-T'xk@
org.apache.struts2.config.Configuration接口名 scg&"s
V]7/hN-Y}
struts.configuration.files W/Dd7G#IC
A list of configuration files automatically loaded by Struts L@N%S Sf
struts自动加载的一个配置文件列表 J"`VA_[
^O07GYF
struts.configuration.xml.reload r,6~%T0
Whether to reload the XML configuration or not > mb}~wx`
是否加载xml配置(true,false) F&d!fEHU
Y%KowgP\
struts.continuations.package X +`Dg::
The package containing actions that use Rife continuations +A}t_u3<
含有actions的完整连续的package名称 fap`;AuwK
r w?wi}}gn
struts.custom.i18n.resources $ L*gtZ
Location of additional localization properties files to load q0.!T0i
加载附加的国际化属性文件(不包含.properties后缀) cl& w/OJ#
(i~UH04r>s
struts.custom.properties \<7Bx[/D4
Location of additional configuration properties files to load /Hr|u
加载附加的配置文件的位置 Qit&cnO
`16'qc
?P
kJG,~
struts.devMode k2 }DBVu1
Whether Struts is in development mode or not G6G Bqp6|
是否为struts开发模式 %e
iV^>
@{/)k%U
struts.dispatcher.parametersWorkaround "Z.6@
c7
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .?Eb{W)^br
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ynIe4b
]A5F}wV4
struts.enable.DynamicMethodInvocation ha
:l-<a
Allows one to disable dynamic method invocation from the URL =pL$*`]?
允许动态方法调用 Nq8ON!<<
(TZK~+]@sb
struts.freemarker.manager.classname "qmSwdM
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <.h7xZ
org.apache.struts2.views.freemarker.FreemarkerManager接口名 'O<b'}-A
q[s,q3n~
struts.i18n.encoding 7-744wV}Z
The encoding to use for localization messages (\6E.Z#
国际化信息内码 WtOjPW
g}_2T\$k
struts.i18n.reload T?8BAxC?K
Whether the localization messages should automatically be reloaded _XZ
Gj:V
是否国际化信息自动加载 f"Sp.'@
0#V"
struts.locale Y@FYo>0O
The default locale for the Struts application l2F#^=tp
默认的国际化地区信息 E !kN h
/YJo"\7
struts.mapper.class 01.q9AGy
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class GfONm6A
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ao K9=F}
$kUB%\`
struts.multipart.maxSize [jgVN w""D
The maximize size of a multipart request (file upload) hK?GIbRZ
multipart请求信息的最大尺寸(文件上传用) ChiIQWFE
<B6md
i'R
struts.multipart.parser pwo$qs(p
The org.apache.struts2.dispatcher.multipart. "6U0
!.ro@
MultiPartRequest parser implementation for a multipart request (file upload) 9\8ektq}Z
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) V( ELrjB0
`l|Oj$
oCT,v 0+4O
struts.multipart.saveDir zyPb\/
The directory to use for storing uploaded files Wl| i$L)7
设置存储上传文件的目录夹 w%L4O;E]*{
fI1CT)0<e
struts.objectFactory >CvhTrPI
The com.opensymphony.xwork2.ObjectFactory implementation class byM%D$R
com.opensymphony.xwork2.ObjectFactory接口(spring) P^te
?`RlYu
struts.objectFactory.spring.autoWire /pF8S!,z
Whether Spring should autoWire or not rN1]UaT
是否自动绑定Spring ;hQ[-
j/t%7,
struts.objectFactory.spring.useClassCache 6u_i>z
Whether Spring should use its class cache or not "Q@m7j)(
是否spring应该使用自身的cache klKUX/g
)Xdq+$w.
struts.objectTypeDeterminer L?ZSfm2<
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kFjv'[Y1N
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dA<%4_WZty
e66Ag}Sw|
struts.serve.static.browserCache 4Sh8w%s
If static content served by the Struts filter should set browser caching header properties or not ip?]&5s
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 qJG;`Ugl:
Zh8\B)0unn
struts.serve.static c/$].VG0
Whether the Struts filter should serve static content or not 3EY Ed39E
是否struts过滤器应该提供静态内容 ';R]`vWFe
QGN+f)
struts.tag.altSyntax 2TGND-(j
Whether to use the alterative syntax for the tags or not Noj*K6
是否可以用替代的语法替代tags nmpc<&<<
P5my]4|x
struts.ui.templateDir "G%S
m")
The directory containing UI templates %oiF} >
UI templates的目录夹 oG)T>L[&
%U{6 `m
struts.ui.theme +2MF#{ tS
The default UI template theme EMnz;/dMt
默认的UI template主题 dNR/|
G@P;#l`(D
struts.url.http.port (1x8DVXNN
The HTTP port used by Struts URLs j&