struts2的struts.properties配置文件详解 t&f" jPu>
~u2w`H?V
struts.action.extension
Ars,V3ep
The URL extension to use to determine if the request is meant for a Struts action e`ex]py<C
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !w=,p.?V=
P!>g7X
struts.configuration 3uO8v{`
The org.apache.struts2.config.Configuration implementation class [0op)Kn
org.apache.struts2.config.Configuration接口名 a 2E t,WA%
a>(~ C'(<
struts.configuration.files N?^_=KE@
A list of configuration files automatically loaded by Struts .D3`'K3t{[
struts自动加载的一个配置文件列表 ^N{X "
\P@S"QO
struts.configuration.xml.reload pE(sV{PD
Whether to reload the XML configuration or not lbofF==(
是否加载xml配置(true,false) z`@z
82.HH5Z{
struts.continuations.package gUb
"3g0
The package containing actions that use Rife continuations C M^r|4K
含有actions的完整连续的package名称 >Qk97we'9
ER2V*,n@
struts.custom.i18n.resources 7V/Zr
Location of additional localization properties files to load I}ndRDz[
加载附加的国际化属性文件(不包含.properties后缀) .pKN4
0lf"w@/
struts.custom.properties /1N)d?Pcl
Location of additional configuration properties files to load Xr2 Wa
加载附加的配置文件的位置 }JGq 1
DCK_F8
rT<1S?jR
struts.devMode `r9^:TMN
Whether Struts is in development mode or not CwB] )QV?
是否为struts开发模式 43F^J%G
:P"9;$FY
struts.dispatcher.parametersWorkaround :1NYpsd.i
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;3
dM@>5[
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?M]u$Te/.
X$ PS(_M
struts.enable.DynamicMethodInvocation ;Lqm#]C
Allows one to disable dynamic method invocation from the URL I2W{tl
允许动态方法调用 :^.u-bHI
b8e*Pv/
struts.freemarker.manager.classname N&,"kRFFo
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {~"Em'}J
org.apache.struts2.views.freemarker.FreemarkerManager接口名 XJ
_%!
ZgK@Fl*k
struts.i18n.encoding tB!|p 6
The encoding to use for localization messages gvK"*aIj
国际化信息内码 ^:U;rHY
g.=!3e&z%
struts.i18n.reload 6iyt2qkh
Whether the localization messages should automatically be reloaded %27G 2^1
是否国际化信息自动加载 H'']J9O
Mi;Tn;3er
struts.locale :g/{(#E@Z
The default locale for the Struts application {YfYIt=.
默认的国际化地区信息 DSTx#*
!Am
=v=>
struts.mapper.class nT)~w
s
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class BHIM'24bp
org.apache.struts2.dispatcher.mapper.ActionMapper接口 8@Q"YA3d+
7V |"~%
struts.multipart.maxSize o`25
The maximize size of a multipart request (file upload) r"6lLc
multipart请求信息的最大尺寸(文件上传用) oX2r?.j#M
)y5iH){!
struts.multipart.parser FmR\`yY_,
The org.apache.struts2.dispatcher.multipart. sAf9rZt*'
MultiPartRequest parser implementation for a multipart request (file upload) ]KzJ u`O%G
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Mru~<:9
EyzY2>"^
}&=uZ:
struts.multipart.saveDir [CsM<:C
The directory to use for storing uploaded files 5'),)
设置存储上传文件的目录夹 p+!f(H
\?[O,A
struts.objectFactory Jr|K>
The com.opensymphony.xwork2.ObjectFactory implementation class YALyZ.d
com.opensymphony.xwork2.ObjectFactory接口(spring) +)% ,G@-`
_%XbxP6rH
struts.objectFactory.spring.autoWire eN Hpgj
Whether Spring should autoWire or not ;%M2x5
是否自动绑定Spring [+yGDMLs
K T%i,T
struts.objectFactory.spring.useClassCache x!Y( Y=i>
Whether Spring should use its class cache or not wbo{JQ
是否spring应该使用自身的cache tP -5
% 1OC#&
struts.objectTypeDeterminer hwc:@'
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1mAUEQ!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]Pz|Oi+]
5Gc_LI&v7
struts.serve.static.browserCache oXvdR(Sb^
If static content served by the Struts filter should set browser caching header properties or not ik8|9m4/
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9$n+-GSK
7O]J^H+7
struts.serve.static Q=dw 6
Whether the Struts filter should serve static content or not oA5<[&~<
是否struts过滤器应该提供静态内容 -wJ
q|?`Gsr
struts.tag.altSyntax 8|fLe\"
Whether to use the alterative syntax for the tags or not {H/8#y4qp&
是否可以用替代的语法替代tags V}j%gy`
NU BpIx&
struts.ui.templateDir \z&03@Sw
The directory containing UI templates J{aQ1)
UI templates的目录夹 tvGg@Xs\
xn0s`I[
struts.ui.theme 't||F1X~J
The default UI template theme "h^A]t;qe
默认的UI template主题 ,ZsYXW
7g {g}
struts.url.http.port &h98.A*&
The HTTP port used by Struts URLs MH C.k=
设置http端口 IS3e|o*]MP
U]+b`m
struts.url.https.port GG@iKL V
The HTTPS port used by Struts URLs sDW"j\
设置https端口 uZo]8mV
U&