struts2的struts.properties配置文件详解
S~E@A.7
I%GQ3D"=
struts.action.extension mfS}+_ C
The URL extension to use to determine if the request is meant for a Struts action Cl-P6NlR".
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /fQ}Ls\
NO@`*:.^Y
struts.configuration 9V[}#(f$
The org.apache.struts2.config.Configuration implementation class 5E1`qof
org.apache.struts2.config.Configuration接口名 NQX?&9L`r
wfpl]d!
struts.configuration.files D~U RY_[A
A list of configuration files automatically loaded by Struts hayJgkZ'
struts自动加载的一个配置文件列表 rpDBKo
.4tu{\YX
struts.configuration.xml.reload ,\c V,$
Whether to reload the XML configuration or not ,+4T7 U R
是否加载xml配置(true,false) BRskxyL&,
.{*l,
struts.continuations.package K/ &`
The package containing actions that use Rife continuations ]Y!Fz<-;P
含有actions的完整连续的package名称 NN1}P'6Ha
9__B!vw:
struts.custom.i18n.resources jZPGUoRLg
Location of additional localization properties files to load sgGA0af
加载附加的国际化属性文件(不包含.properties后缀) qtozMa
qsbV)c
struts.custom.properties 0Xw>_#Y/xS
Location of additional configuration properties files to load b1jDbiH&
加载附加的配置文件的位置 c%^B
'
r|DIf28MIq
Rvx7}ZL!
struts.devMode %.r\P@7/Q
Whether Struts is in development mode or not =b>TF B=*N
是否为struts开发模式 f\_PNZCc
6kLy!QS
struts.dispatcher.parametersWorkaround l~f3J$OkJ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic zow8 Q6f
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 'TH[Db'`I
5 QuRwu_
struts.enable.DynamicMethodInvocation zGyRzxFN
Allows one to disable dynamic method invocation from the URL D"$Y, d
允许动态方法调用 xH{-UQ3R
0F%8d@Y2
struts.freemarker.manager.classname ^>Z_3{s:$
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jX8)Ov5Mv
org.apache.struts2.views.freemarker.FreemarkerManager接口名 SO(BkxV@
w9VwZow
struts.i18n.encoding M!Ao!D[
The encoding to use for localization messages h
~yTkN]
国际化信息内码 :i?6#_2IC
3~Fag1Hp
struts.i18n.reload :??W3ROn
Whether the localization messages should automatically be reloaded G~(\N?2
是否国际化信息自动加载 La9}JvQoX
;hO6 p
struts.locale 2&n6:"u|
The default locale for the Struts application DC*MB:c#U
默认的国际化地区信息 |C z7_Rn
eS@j? Y0y
struts.mapper.class hx9t{Zi
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {R(CGrI
org.apache.struts2.dispatcher.mapper.ActionMapper接口 1uj~/M
yTg|L9
struts.multipart.maxSize k89N}MA
The maximize size of a multipart request (file upload) (1^;l;7H
multipart请求信息的最大尺寸(文件上传用) { m~)~/z?
W-#DEU 7_
struts.multipart.parser Q~Mkf&s
The org.apache.struts2.dispatcher.multipart. u%:`r*r
MultiPartRequest parser implementation for a multipart request (file upload) cpP}NJb0;%
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q\kWQOB_
~nmFZ]y
T*%GeY
[
struts.multipart.saveDir lqmQQ*Z
The directory to use for storing uploaded files axvZA:l
设置存储上传文件的目录夹 5Ex[}y9L`
ZJZSt% r
struts.objectFactory !"qT2<A
The com.opensymphony.xwork2.ObjectFactory implementation class *1kFy_Gx
com.opensymphony.xwork2.ObjectFactory接口(spring) QR"+fzOL
GLecBF+>F
struts.objectFactory.spring.autoWire EG`AkWy
Whether Spring should autoWire or not ?<3 d
Fb
是否自动绑定Spring I]W7FZ=o
!;*flr`/
struts.objectFactory.spring.useClassCache /fb}]e]N
Whether Spring should use its class cache or not 7<e}5nA/
是否spring应该使用自身的cache ^SG>VfgC
3 5.&!4}
struts.objectTypeDeterminer >JE+g[$@
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dL%*;
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J~WT;s
|\uj(|
struts.serve.static.browserCache B<r0y
If static content served by the Struts filter should set browser caching header properties or not o"BED!/
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;.sYE/ZVi
|}z5ST%
struts.serve.static &nr{-][
Whether the Struts filter should serve static content or not KMy"DVqE
是否struts过滤器应该提供静态内容 4y3c=L
No
)e3w-es~4
struts.tag.altSyntax 8,IF%Z+LI
Whether to use the alterative syntax for the tags or not uoE+:,P
是否可以用替代的语法替代tags @H#Fzoo.
vb>F)po1}
struts.ui.templateDir pp(09y`]
The directory containing UI templates 5\h 6"/6Df
UI templates的目录夹 }hg=#*
ZKEoU!
struts.ui.theme }WFI/W'
The default UI template theme l VD{Y`)
默认的UI template主题 8Snv, Lb`^
!J;Bm,Xn6
struts.url.http.port k;cX,*DIn
The HTTP port used by Struts URLs )-[$m%
设置http端口 AYY(<b
h?/E />
struts.url.https.port QAxy?m,'
The HTTPS port used by Struts URLs dpq(=s`s
设置https端口 f4.jWBF
U=KUx
struts.url.includeParams JjI1^FRd
The default includeParams method to generate Struts URLs AFL'Ox]0
在url中产生 默认的includeParams )tJaw#Mih
-j<E_!t
jSvq1$U
struts.velocity.configfile bi}aVtG~z
The Velocity configuration file path f9#srIx+
velocity配置文件路径 "!Ph
W"@'}y
struts.velocity.contexts <& PU%^Ha
List of Velocity context names {jYVA~.|Z
velocity的context列表 M.dX;iM<
z@e(y@
\Db`RvEmR
struts.velocity.manager.classname fWA#n
org.apache.struts2.views.velocity.VelocityManager implementation class }X8P5c!\
org.apache.struts2.views.velocity.VelocityManager接口名 0/]h"5H3
+2:HgW
struts.velocity.toolboxlocation nU{Qi;0
The location of the Velocity toolbox hx@@[sKF7
velocity工具盒的位置 O,
eoO,gB
struts.xslt.nocache IfB .2e`
Whether or not XSLT templates should not be cached 36co'a4,
是否XSLT模版应该被缓存 {06-h %qr