struts2的struts.properties配置文件详解 TG.\C8;vFh
j9=)^?
struts.action.extension M!\6Fl{ b
The URL extension to use to determine if the request is meant for a Struts action }oii|=,#^
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G:MQ_tfr&
k6_OP]
struts.configuration V#+J4
The org.apache.struts2.config.Configuration implementation class o^BX:\}
org.apache.struts2.config.Configuration接口名 hrbeTtqi
mpl^LF[
struts.configuration.files c* )PS`]t
A list of configuration files automatically loaded by Struts W1Om$S1
struts自动加载的一个配置文件列表 ?/KkN3Y_j[
m9aP]I3g]\
struts.configuration.xml.reload c5{3
Whether to reload the XML configuration or not [g:KFbEY
是否加载xml配置(true,false) E^m2:J]G
75']fFO@!
struts.continuations.package LeMo")dk\
The package containing actions that use Rife continuations RD*.n1N1
含有actions的完整连续的package名称 hx@E,
SJ:Wr{ Or3
struts.custom.i18n.resources it=ir9
Location of additional localization properties files to load 0ac'<;9]zP
加载附加的国际化属性文件(不包含.properties后缀) <U""CAE
$2k9gO
struts.custom.properties Oxh.&
Location of additional configuration properties files to load =,LhMy
加载附加的配置文件的位置 q.p.y0
Y!CGuLHL`[
Hp3T2|uL
struts.devMode ; <|m0>X
Whether Struts is in development mode or not Yo2n[
是否为struts开发模式 `,FvYA"
P.]O8r
struts.dispatcher.parametersWorkaround M{U7yE6*j*
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic c(!{_+q"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X1lL@ `r.5
4> (OM|X=9
struts.enable.DynamicMethodInvocation %|By ?i
Allows one to disable dynamic method invocation from the URL _l](dqyuN(
允许动态方法调用 >J@hqW
q,_ 1?A)
struts.freemarker.manager.classname hjY)W;
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7Ust7%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 e/ V8lo
%%k`+nK~
struts.i18n.encoding HVcd< :g0
The encoding to use for localization messages :jljM(\
国际化信息内码 n$(_(&
q|ww fPez7
struts.i18n.reload o_ SR
Whether the localization messages should automatically be reloaded a`uHkRX
)U
是否国际化信息自动加载 Q::6|B,G
% wS5m#n
struts.locale {afR?3GK
The default locale for the Struts application CZ_ (IT7
默认的国际化地区信息 >2?O-WXe
:g=z}7!s
struts.mapper.class 66l$}+|Zzc
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class w>$2
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^ G(GjW8
or1D
6*'
struts.multipart.maxSize <xQHb^:
The maximize size of a multipart request (file upload) O(oGRK<xM
multipart请求信息的最大尺寸(文件上传用) f_GqJ7Gk]
t9B]V
struts.multipart.parser 2Aq%;=+*
The org.apache.struts2.dispatcher.multipart. @9<MW
MultiPartRequest parser implementation for a multipart request (file upload) Y!|*`FII
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6Q.6
Lz'05j3!
Q>}*l|Ci
struts.multipart.saveDir lnoK.Vk9,
The directory to use for storing uploaded files +iYy^oXxw
设置存储上传文件的目录夹 o {bwWk7v6
kmXaLt2Z
struts.objectFactory XVKR}I
The com.opensymphony.xwork2.ObjectFactory implementation class vg5;F[e
com.opensymphony.xwork2.ObjectFactory接口(spring) sOBy)vq?\
Pe_iA_
struts.objectFactory.spring.autoWire Be(h x
Whether Spring should autoWire or not EJrn4QOs
是否自动绑定Spring 7TjK;w7xS.
3,cZ*4('d
struts.objectFactory.spring.useClassCache K2glkGK
Whether Spring should use its class cache or not `|i[*+WC
是否spring应该使用自身的cache {$ghf"
P]4C/UDS-~
struts.objectTypeDeterminer ,nELWzz%{
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class SDTX3A1
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6R+m;'
+)4_1i4"x
struts.serve.static.browserCache `
qqUuFMM
If static content served by the Struts filter should set browser caching header properties or not \y9( b
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]_yk,}88d
k%?fy
struts.serve.static )o<rU[oD]C
Whether the Struts filter should serve static content or not #lM :BO
是否struts过滤器应该提供静态内容 :b&O{>M]Y
x7=5 ;gf/X
struts.tag.altSyntax `eat7O
Whether to use the alterative syntax for the tags or not iv*Ft.1t
是否可以用替代的语法替代tags ZCZY gf@
2V0gj
/&
struts.ui.templateDir (dxkDS-G
The directory containing UI templates 3rEBG0cf]
UI templates的目录夹 !'()QtvC<
'mz
_JM
struts.ui.theme i6p0(OS&D
The default UI template theme UGNFWZ c
默认的UI template主题 VemgG)\
C~.7m-YW
struts.url.http.port 6Hz45
The HTTP port used by Struts URLs _N 5$>2
设置http端口 k{3:$,
b
uX-]z3+
struts.url.https.port :bxq%D%|o
The HTTPS port used by Struts URLs jjgjeY
设置https端口 -t, .A/?
<6=kwV6
struts.url.includeParams t'bzhPQO)f
The default includeParams method to generate Struts URLs GVT+c@Gx
在url中产生 默认的includeParams &}P{w
HF9d~7R
0^VA,QkQ\
struts.velocity.configfile Nb2]}; O
The Velocity configuration file path 8}FZ1h2
4
velocity配置文件路径 ZW$PJmz
/`YHPeXu
struts.velocity.contexts rULrGoM
List of Velocity context names J;pn5k~3
velocity的context列表 d>z?JDt
L3^WI(
8m
Y]ML-smN
struts.velocity.manager.classname :zk69P3
org.apache.struts2.views.velocity.VelocityManager implementation class fHek!Jv.
org.apache.struts2.views.velocity.VelocityManager接口名 Y4]USU!PA
)x1LOMe
struts.velocity.toolboxlocation a)'^'jm)4
The location of the Velocity toolbox PSX-b)wb
velocity工具盒的位置 `}/&}Sp
struts.xslt.nocache F.)b`:g
Whether or not XSLT templates should not be cached KS($S(Fi
是否XSLT模版应该被缓存
9K*yds