struts2的struts.properties配置文件详解 !}PFi T^
Zn/9BO5
struts.action.extension t!T}Pg(Bo
The URL extension to use to determine if the request is meant for a Struts action F889JSZ%
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jF3!}*7,
8x9kF]=
struts.configuration )>Q 2G/@
The org.apache.struts2.config.Configuration implementation class o5D" <-=>
org.apache.struts2.config.Configuration接口名 H4m6H)KOG
23f[i<4e
struts.configuration.files PPqTmx5S
A list of configuration files automatically loaded by Struts X<m%EXvV
struts自动加载的一个配置文件列表 xk*3,J6BK
!Q(xOc9>Ug
struts.configuration.xml.reload h/fCCfO,
Whether to reload the XML configuration or not kr*c?^b
是否加载xml配置(true,false) #w*pWD^
lQsQRp
struts.continuations.package {.lF~cOu
The package containing actions that use Rife continuations E&>,B81
含有actions的完整连续的package名称 ommKf[h%i
!U#++Zig%
struts.custom.i18n.resources x7@WWFF>
Location of additional localization properties files to load YEQW:r_h.S
加载附加的国际化属性文件(不包含.properties后缀) &CL|q+-
osd^SnL1/5
struts.custom.properties I1myu Z
Location of additional configuration properties files to load gZjOlp
加载附加的配置文件的位置 ob] lCX)
ii;WmE&
g&"(- :
struts.devMode |x6mkSf]ke
Whether Struts is in development mode or not ]v{fFmL
是否为struts开发模式 NVjJ/
V{h@nhq
struts.dispatcher.parametersWorkaround ;/V@N |$n
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ft7a\vn*B
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N-rmk
ya{>=
struts.enable.DynamicMethodInvocation Z0=m:h
Allows one to disable dynamic method invocation from the URL +hg\DqO^M
允许动态方法调用 Y/S3)o
HLe^|
struts.freemarker.manager.classname $CmX
&%L=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class z/YMl3$l~
org.apache.struts2.views.freemarker.FreemarkerManager接口名 &5.~XM;
Hk]BC
struts.i18n.encoding tqQ0lv^J
The encoding to use for localization messages <c ovApx
国际化信息内码 ~}5Ml_J$,l
h6h1.lZ
struts.i18n.reload u3wC}Zo
Whether the localization messages should automatically be reloaded U R@BSK'
是否国际化信息自动加载 r}\h\ {
Is@a,k
struts.locale IMGqJc,7
The default locale for the Struts application ~B&*7Q7
默认的国际化地区信息 d# 3tQ*G/
m IzBK]@^
struts.mapper.class ]|N4 #4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class QklNw6,
org.apache.struts2.dispatcher.mapper.ActionMapper接口 #eC;3Kq#-
;:c%l.Y2
struts.multipart.maxSize BZ?W>'B%$
The maximize size of a multipart request (file upload) p??/r
multipart请求信息的最大尺寸(文件上传用) O|Ic[XfLx
x~;EH6$5'/
struts.multipart.parser tHtV[We.:
The org.apache.struts2.dispatcher.multipart. /Tj"Fl\h
MultiPartRequest parser implementation for a multipart request (file upload) !/}FPM_
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `XxG"k\/S
e(#IewKp
=YGP%}_.p{
struts.multipart.saveDir + |qfgi
The directory to use for storing uploaded files >Mn>P!
设置存储上传文件的目录夹 {1MGb%xW
v{2DBr
struts.objectFactory tin|,jA =
The com.opensymphony.xwork2.ObjectFactory implementation class ;a#*|vx
com.opensymphony.xwork2.ObjectFactory接口(spring) P!y`$Ky&
yK077zH_
struts.objectFactory.spring.autoWire atf%7}2
Whether Spring should autoWire or not WkaR{{nM
是否自动绑定Spring }6J7<g
ZB[(Tv1
struts.objectFactory.spring.useClassCache ;:Z=%R$wJ
Whether Spring should use its class cache or not @%<?GNS O
是否spring应该使用自身的cache 6B''9V:s
PDIclIMS'F
struts.objectTypeDeterminer m*!f%}T
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4C1FPrh
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 k=7Gr;;l=p
*w/WHQ`xI
struts.serve.static.browserCache /u)Rppu
If static content served by the Struts filter should set browser caching header properties or not :B=8_M
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R|1xXDLm*E
0HR|aqPo
struts.serve.static ck+b/.gw`
Whether the Struts filter should serve static content or not gKN}Of@^1
是否struts过滤器应该提供静态内容 L"foL
C4{\@v}t
struts.tag.altSyntax VI24+h'J
Whether to use the alterative syntax for the tags or not YN@6}B#1
是否可以用替代的语法替代tags :Sc8PLT
%)axGbZG;
struts.ui.templateDir 0zbLc%
The directory containing UI templates xHB/]Vd-
UI templates的目录夹 o-~~,n\
nMGrG
struts.ui.theme |rFR8srPG
The default UI template theme -2\ZzK0tM
默认的UI template主题 5r4gmy>
lRDxIuTK
struts.url.http.port YZGS-+
The HTTP port used by Struts URLs w(/DTQc~d
设置http端口 t'R':+0Vf
t<sNc8x
struts.url.https.port
3@)obb
The HTTPS port used by Struts URLs e40udLH~x
设置https端口 O4EIE)c
8geek$FY x
struts.url.includeParams YOV :
The default includeParams method to generate Struts URLs %X4-a%512
在url中产生 默认的includeParams dk_,YU'z
$;Vc@mYGW;
kG1;]1tT#
struts.velocity.configfile [q-;/ed
The Velocity configuration file path M!gBmQZ1
velocity配置文件路径 mz\NFC<
?j/kOD0
struts.velocity.contexts u 1ZJHry
List of Velocity context names mX&xn2}qZ"
velocity的context列表 Hz?!BV0
>z=Ou<,
ptpW41t}^
struts.velocity.manager.classname |3{+6cg
org.apache.struts2.views.velocity.VelocityManager implementation class f.oP
org.apache.struts2.views.velocity.VelocityManager接口名 {l2N&
f=ac I|w
struts.velocity.toolboxlocation ;8P_av}C
The location of the Velocity toolbox o]Wz6L
velocity工具盒的位置 |2)Sd[q
struts.xslt.nocache X9fNGM1
Whether or not XSLT templates should not be cached TDlZ!$g(
是否XSLT模版应该被缓存 e?V,fzg