struts2的struts.properties配置文件详解 x9o^9QJh
x4HMT/@AG2
struts.action.extension 'j,Li(@}
The URL extension to use to determine if the request is meant for a Struts action OCOO02Wq1
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 mb*h73{{
+N(YR3
struts.configuration thm3JfQt
The org.apache.struts2.config.Configuration implementation class 1A/c/iC
org.apache.struts2.config.Configuration接口名 ncw?;
c^[1]'y
struts.configuration.files (zTI)EV
A list of configuration files automatically loaded by Struts ! MF"e|W
struts自动加载的一个配置文件列表 2cX"#."5p
Er)_[^)
HG
struts.configuration.xml.reload FOUs=
E[
Whether to reload the XML configuration or not /YugQ.>| l
是否加载xml配置(true,false) M-qxD"VtV=
>s 8:1l
struts.continuations.package j2{,1h j
The package containing actions that use Rife continuations l]klV+9t
含有actions的完整连续的package名称 Bg+]_:<U
s=%+o&B
struts.custom.i18n.resources J:-TINeB
Location of additional localization properties files to load J%O4IcE
加载附加的国际化属性文件(不包含.properties后缀) tx1m36a"
k.%W8C<Pa
struts.custom.properties 1KIq$lG{ E
Location of additional configuration properties files to load o YI=p3l
加载附加的配置文件的位置 zs]/Y2
LG@c)H74
L};;o+5uJD
struts.devMode ,w/mk$v
Whether Struts is in development mode or not nXeK,C
是否为struts开发模式 l^eNZ3:H
<11Tqb
struts.dispatcher.parametersWorkaround ";Ig%]
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FnQ_=b
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |`t!aG8
)Fr;'JYC1S
struts.enable.DynamicMethodInvocation ^B6i6]Pd=9
Allows one to disable dynamic method invocation from the URL b\Xu1>
允许动态方法调用 +_XbHjhN/
*ZSp9g"Z
struts.freemarker.manager.classname u+tb83~[=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e'?doP
org.apache.struts2.views.freemarker.FreemarkerManager接口名 :mtw}H 'F8
t>h
i$NX{p
struts.i18n.encoding y[5P<:&s
The encoding to use for localization messages Ccd7|L1
国际化信息内码 F+y`4>x
-x%`Wv@L
struts.i18n.reload ;
# ?0#):-
Whether the localization messages should automatically be reloaded eN?P) ,
是否国际化信息自动加载 $E_vCB_
aaD$'Y,<>B
struts.locale JQh s=Xg
The default locale for the Struts application Jx
;"a\KD
默认的国际化地区信息 {LJ6't 8y:
H{A| ~V)
struts.mapper.class Ho._&az9cT
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hy&Hl
org.apache.struts2.dispatcher.mapper.ActionMapper接口 z9kX`M+
pA,EUh|H
struts.multipart.maxSize uj1E*
98m
The maximize size of a multipart request (file upload) k| cI!
multipart请求信息的最大尺寸(文件上传用) 2=,Sz1`t
yjFQk,A
struts.multipart.parser
2:5gMt
The org.apache.struts2.dispatcher.multipart. \/4%[Q2QDm
MultiPartRequest parser implementation for a multipart request (file upload) S{)n0/_
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [11-`v0
A%w]~ chC9
q{+poVX
struts.multipart.saveDir Yg,WdVI&@
The directory to use for storing uploaded files V?J,ab$X#
设置存储上传文件的目录夹 1o8"==n%
>/`cmNmb
struts.objectFactory bq&S?! =s
The com.opensymphony.xwork2.ObjectFactory implementation class GuY5 %wr
com.opensymphony.xwork2.ObjectFactory接口(spring) <w2NJ~M^
6.7Kp
struts.objectFactory.spring.autoWire -Tkd@
Whether Spring should autoWire or not Y&