struts2的struts.properties配置文件详解 STT2o=
Qb@eK$wo}
struts.action.extension wu^q`!ml
The URL extension to use to determine if the request is meant for a Struts action 6F5,3&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~zMKVM1Q.,
@ M[Q$:
struts.configuration PNmF}"
The org.apache.struts2.config.Configuration implementation class #S?c ;3-
org.apache.struts2.config.Configuration接口名 'Oy5e@G+?
rt.[,m
struts.configuration.files {E~l>Z88
A list of configuration files automatically loaded by Struts syFI$rf
_
struts自动加载的一个配置文件列表 )fCMITq.|
f'_S1\
struts.configuration.xml.reload \!PV*%P
Whether to reload the XML configuration or not Jr?!Mh-
是否加载xml配置(true,false) t,Q'S`eTU
V4?Oc2mS
struts.continuations.package hZF(/4Z2
The package containing actions that use Rife continuations ,kE=TR.|
含有actions的完整连续的package名称 Tf l;7w.(A
7|~:P$M
struts.custom.i18n.resources QN #)F
Location of additional localization properties files to load :0dfB&7
加载附加的国际化属性文件(不包含.properties后缀) !fZLQc
u%aFb*
struts.custom.properties M71R -B`-
Location of additional configuration properties files to load (HSw%e
加载附加的配置文件的位置 ]PVto\B=
RIo'X@zb
Kw*~W
i
struts.devMode b A+[{
Whether Struts is in development mode or not V85.DK!
是否为struts开发模式 Z!)f*
rIPl6,w~
struts.dispatcher.parametersWorkaround `r.N
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?d,M.o{0]
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5ZUy:
65"uD7;
struts.enable.DynamicMethodInvocation R\ q):,
Allows one to disable dynamic method invocation from the URL {c?ymkK
允许动态方法调用 X8.y4{5
d"l}Ny)C
struts.freemarker.manager.classname y {;u@o?T
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KDaN-r^{%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 4g'}h`kh
TMtI^mkB:
struts.i18n.encoding s<#N]mp'
The encoding to use for localization messages 4]u,x`6C
国际化信息内码 w=$'Lt!
JP_kQ
struts.i18n.reload q-uLA&4
Whether the localization messages should automatically be reloaded #-dK0<:
是否国际化信息自动加载 NCxn^$/+>9
500>
CBL0O
struts.locale #}j]XWy
The default locale for the Struts application kpWzMd &RK
默认的国际化地区信息 L
B<UC?e
wJ(8}eI
struts.mapper.class "_oLe;?$c
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .SBc5KX
org.apache.struts2.dispatcher.mapper.ActionMapper接口 jRwa0Px(
mOSCkp{<e
struts.multipart.maxSize mc~`
The maximize size of a multipart request (file upload) s/PhXf\MN
multipart请求信息的最大尺寸(文件上传用) fT
x4vlI4
K
/8qB~J*
struts.multipart.parser J2=*-O:
The org.apache.struts2.dispatcher.multipart. /6smVz@O
MultiPartRequest parser implementation for a multipart request (file upload) A{t"M-<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fi/jR0]e2
[{/$9k-aF?
)ZeLaa P
struts.multipart.saveDir 79a9L{gso
The directory to use for storing uploaded files n8Q*
_?Z/
设置存储上传文件的目录夹 p*!q}%U
<YSg~T
struts.objectFactory ,.q8Xf
The com.opensymphony.xwork2.ObjectFactory implementation class [Q=4P*G}X
com.opensymphony.xwork2.ObjectFactory接口(spring) m"q/,}DR
}eI`Qg
struts.objectFactory.spring.autoWire CCn/ udp@
Whether Spring should autoWire or not lf;~5/%wMG
是否自动绑定Spring b<8q 92F
>07shNX
struts.objectFactory.spring.useClassCache >waN;&>/
Whether Spring should use its class cache or not %/X2 l
是否spring应该使用自身的cache }oV3EIH
M-vC>u3Y
struts.objectTypeDeterminer bbO+%-(X
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dUZ$wbV%h
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iW":DOdi_
"W3W:vl!
struts.serve.static.browserCache &6Ns7w6*z
If static content served by the Struts filter should set browser caching header properties or not q< b"M$
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a\>+=mua
{dDq*sLf
struts.serve.static m_(E(_
Whether the Struts filter should serve static content or not M;V&