struts2的struts.properties配置文件详解 7bM
H
Hs.5@ l
struts.action.extension ~fpk`&nhe
The URL extension to use to determine if the request is meant for a Struts action w*Ze5j4@
\
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]INt9Pvqm
2-duzc
struts.configuration {4R;C~E8
The org.apache.struts2.config.Configuration implementation class tD,~i"0;
org.apache.struts2.config.Configuration接口名 51s 3hX$
Zqg
AgN@
struts.configuration.files bwjLMWEVq
A list of configuration files automatically loaded by Struts t/x]vCP,2D
struts自动加载的一个配置文件列表 Zq/=uB7Z
`g}en%5b\
struts.configuration.xml.reload 2DBFY1[Pk
Whether to reload the XML configuration or not 5.Nc6$
N
是否加载xml配置(true,false) / Kj;%
2+\@0j[q
struts.continuations.package ?+{qmqN
The package containing actions that use Rife continuations 2:^
含有actions的完整连续的package名称 }Mc&yjhMrg
_#E@&z".L
struts.custom.i18n.resources w4uY/!~k
Location of additional localization properties files to load q+67Wc=
加载附加的国际化属性文件(不包含.properties后缀) A LR`z~1
&nn+X%m9g
struts.custom.properties 5[+E?4,&
Location of additional configuration properties files to load x@VZJrQQ
加载附加的配置文件的位置 N2EX`@_2
PrEfJ?
sGbk4g
struts.devMode _7-P8"m
Whether Struts is in development mode or not w}(Ht_6q{
是否为struts开发模式 }~NWOJ3;
{0} Q5
struts.dispatcher.parametersWorkaround R8u9tTW
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7/c9azmC
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \v.YP19
S\118TpD
struts.enable.DynamicMethodInvocation <:0d%YB)
Allows one to disable dynamic method invocation from the URL lz0'E'%{P
允许动态方法调用 EK^["_*A
0\Myhh~DLE
struts.freemarker.manager.classname N07FU\<9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class J*f..:m
org.apache.struts2.views.freemarker.FreemarkerManager接口名 v<S?"#
]F=
+JBYGYN&K
struts.i18n.encoding n0@ \x=9
The encoding to use for localization messages + gP 4MP
国际化信息内码 @1peJJ{
[JX=<a)U
struts.i18n.reload mr#XN&e
Whether the localization messages should automatically be reloaded a)M#O\i`
是否国际化信息自动加载 vqBT^Q_q;
bQ_N^[oxQ
struts.locale 'sAs#
The default locale for the Struts application !pe!Z-,
默认的国际化地区信息 .:+&2#b
$x1PU67
struts.mapper.class #-FfyxQ8ai
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E\=23[0
org.apache.struts2.dispatcher.mapper.ActionMapper接口 F5EsaF'e4
Vbpt?1:
struts.multipart.maxSize zF=E5TL-,4
The maximize size of a multipart request (file upload) Ru^j~Cj5
multipart请求信息的最大尺寸(文件上传用) <-a6'g2y
F$&{@hd
struts.multipart.parser =5X(RGK
The org.apache.struts2.dispatcher.multipart. w}QU;rl8q
MultiPartRequest parser implementation for a multipart request (file upload) -D30(g{O
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) NYN(2J
UkXf)
/M8&`
struts.multipart.saveDir ]$a,/Jt
The directory to use for storing uploaded files 79Si^n1\
设置存储上传文件的目录夹 K9N\E"6ZP
XnI)s^
struts.objectFactory 095ZZ20
The com.opensymphony.xwork2.ObjectFactory implementation class .R>4'#8q
com.opensymphony.xwork2.ObjectFactory接口(spring) J |TA12s
SXf Aw)-n
struts.objectFactory.spring.autoWire ){{]3r
Whether Spring should autoWire or not Snf1vH
是否自动绑定Spring G8voqP
3a]Omuu|=
struts.objectFactory.spring.useClassCache ZU-vZD>
Whether Spring should use its class cache or not N| L Ey
是否spring应该使用自身的cache mg7Q~SLL{
Hb{G
RG70
struts.objectTypeDeterminer 4XL]~3 c
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
MfNguh
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X`FFI6pb
v %fRq!~
struts.serve.static.browserCache Qk.:b
If static content served by the Struts filter should set browser caching header properties or not dKwY\)\
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 DU%j;`3
6H_7M(f
struts.serve.static 8'X:}O/
Whether the Struts filter should serve static content or not [>tyx{T Ye
是否struts过滤器应该提供静态内容 D%k]D/
^l"
struts.tag.altSyntax {:r8X
Whether to use the alterative syntax for the tags or not c'r7sI%Yi
是否可以用替代的语法替代tags qdeS*rp\
-P>f2It
struts.ui.templateDir w-.=u3
The directory containing UI templates m"Y|xvIA
UI templates的目录夹 BJi
2K1odqO#
struts.ui.theme 2m/=0sb\{
The default UI template theme 'v*Y7zZ#K
默认的UI template主题 .U:D uyT
<MH| <hP
struts.url.http.port 0au\X$)Q
The HTTP port used by Struts URLs SXx2
设置http端口 7VQk$im399
g [~"c}
struts.url.https.port a D,(mw-7r
The HTTPS port used by Struts URLs h5?yrti
设置https端口 /"M7YPX;
,TAzJ
struts.url.includeParams `II/nv0jn
The default includeParams method to generate Struts URLs L:g!f
在url中产生 默认的includeParams $|yO
mh
ywRwi~
\D37l_
struts.velocity.configfile ]7`)|PJ
The Velocity configuration file path -gpF%g`H
velocity配置文件路径 eQUm!9)
*[eh0$
struts.velocity.contexts ,mE*k79L6
List of Velocity context names P`K?k<
velocity的context列表 &91U(Go
+EWfsKz
aT %A<'O!
struts.velocity.manager.classname loLN
~6
org.apache.struts2.views.velocity.VelocityManager implementation class S>oQm
org.apache.struts2.views.velocity.VelocityManager接口名 aQK>q. t
W1
qE,%cx
struts.velocity.toolboxlocation ^&W(|R-,J&
The location of the Velocity toolbox qdFYf/y
velocity工具盒的位置 )NwIEk>Tf
struts.xslt.nocache |hprk-R*OH
Whether or not XSLT templates should not be cached k2xOu9ncEj
是否XSLT模版应该被缓存 8W|qm;J98