struts2的struts.properties配置文件详解 L K#A
=IMmtOvJ
struts.action.extension _h-agn4[i
The URL extension to use to determine if the request is meant for a Struts action 3<r7"/5
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,IPt4EH$
`Ow]@flLI
struts.configuration ; CCg]hX
The org.apache.struts2.config.Configuration implementation class FLMiW]?x
org.apache.struts2.config.Configuration接口名 L[2qCxB'^
=Q_1Mr4O
struts.configuration.files CqnHh@]nu
A list of configuration files automatically loaded by Struts b\(f>g[
struts自动加载的一个配置文件列表 ~JL
qh
k={D!4kKz
struts.configuration.xml.reload b\}a
Whether to reload the XML configuration or not caQ1SV^{9
是否加载xml配置(true,false) V|'@D#\
"mJo<i}
struts.continuations.package }U_^zQfaj
The package containing actions that use Rife continuations 7#E/Q~]'6
含有actions的完整连续的package名称 u;q
Q/Ftb
B46:LQ9[
struts.custom.i18n.resources <
c^'$
Location of additional localization properties files to load 2.Vrh@FNRo
加载附加的国际化属性文件(不包含.properties后缀) bPOPoq1#
fS4foMI63)
struts.custom.properties }h;Z_XF&
Location of additional configuration properties files to load -NwG'
U~
加载附加的配置文件的位置 ` 7iA?;
`VwG]2 I
:g|.x
struts.devMode QPf\lN/$4d
Whether Struts is in development mode or not _;PQt" ]
是否为struts开发模式 HKJCiQ|k
;I*t5{
struts.dispatcher.parametersWorkaround XE2Un1i}j1
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0cHcBxdF
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
(sKg*G2
ExO#V9DaW
struts.enable.DynamicMethodInvocation ~%*l>GkP*
Allows one to disable dynamic method invocation from the URL U%@PY9#
允许动态方法调用 y ~
K8
mx}5":}
struts.freemarker.manager.classname jo"nK,r
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $=plAi
org.apache.struts2.views.freemarker.FreemarkerManager接口名 5>9Q<*
g&g:HH:
struts.i18n.encoding RDbNC v#
The encoding to use for localization messages Wmd@%K
国际化信息内码 nr]=O`Mvh
h/\v+xiF
struts.i18n.reload y05!-G:Y\
Whether the localization messages should automatically be reloaded 3J"`mQ
是否国际化信息自动加载 uN<=v&]q
/9ORVV
struts.locale IMD^(k 2
The default locale for the Struts application Ja3#W
K
默认的国际化地区信息 {Ycgq%1>]
\>:t={>;
struts.mapper.class P[ o"%NZ'
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $R#_c}
org.apache.struts2.dispatcher.mapper.ActionMapper接口 hD5@PeLh
GcRH$,<XG
struts.multipart.maxSize m%J?5rR3
The maximize size of a multipart request (file upload) 'QE8
multipart请求信息的最大尺寸(文件上传用) =r/K#hOR\J
6E) T;R(@
struts.multipart.parser ^IiA(?8
The org.apache.struts2.dispatcher.multipart. w]MI3_|'r(
MultiPartRequest parser implementation for a multipart request (file upload) X40gJV<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `S((F|Ty=;
l)$mpMgAD
Q+Nnj(AQY
struts.multipart.saveDir @~2k5pa
The directory to use for storing uploaded files ]CP5s5
设置存储上传文件的目录夹 A/=cGE
s&ox%L4
struts.objectFactory s>G6/TTH6
The com.opensymphony.xwork2.ObjectFactory implementation class 65 zwi-
com.opensymphony.xwork2.ObjectFactory接口(spring) ? /!Fv/
dwB#k$VIOw
struts.objectFactory.spring.autoWire RbUir185Y
Whether Spring should autoWire or not +DSbr5"VlB
是否自动绑定Spring Qf0P"s`
w31O~Ve
struts.objectFactory.spring.useClassCache aN"YEL>w
Whether Spring should use its class cache or not LeN }Q
是否spring应该使用自身的cache Q%aF~
Eo$l-Hl5=
struts.objectTypeDeterminer T+XcEI6w
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class eW.qMx#:od
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 z&!o1uq
_\4r~=`HQ
struts.serve.static.browserCache _~Od G
If static content served by the Struts filter should set browser caching header properties or not aEdMZ+P.
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 VT>-*
d
>L8SL
struts.serve.static FsUH/Y
y
Whether the Struts filter should serve static content or not ){GJgk|P
是否struts过滤器应该提供静态内容 51s\)d%l
rs4:jS$)
struts.tag.altSyntax ;,Vdj[W$>
Whether to use the alterative syntax for the tags or not ("A45\5
是否可以用替代的语法替代tags {!(
htg;
w:B&8I(n}w
struts.ui.templateDir 1Mq"f7X8
The directory containing UI templates suQ`a_zJ
UI templates的目录夹 KUX6n(u
k7:ISjJ
struts.ui.theme ,?U(PEO\f
The default UI template theme >}.~Y#Ge
默认的UI template主题 &z3_N
(Ajhf}zJ
struts.url.http.port 7y&