struts2的struts.properties配置文件详解 T5e^J"
JC2*$qu J
struts.action.extension X 8R1a?
The URL extension to use to determine if the request is meant for a Struts action 1-o V-K
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 DFy1 bg
onnugj3
struts.configuration HeozJ^u\?
The org.apache.struts2.config.Configuration implementation class Z@M6!;y#
org.apache.struts2.config.Configuration接口名 :1_mfX
{7X~!e|w
struts.configuration.files eaAPKx
A list of configuration files automatically loaded by Struts h<NRE0-
struts自动加载的一个配置文件列表 T*+A.G@L"
.8H}Lf\
struts.configuration.xml.reload gtYRV*^q
Whether to reload the XML configuration or not Y[G9Vok
VX
是否加载xml配置(true,false) mH\@QdF
8x{Hg9
struts.continuations.package Uw <{i
The package containing actions that use Rife continuations c-*2dV[@
含有actions的完整连续的package名称 Dbz]{_Y;
sfI N)jh
struts.custom.i18n.resources 4f {+pf^R
Location of additional localization properties files to load $E.XOpl&I
加载附加的国际化属性文件(不包含.properties后缀) %rcFT_
q-IWRb0j%a
struts.custom.properties @O/,a7Tt
Location of additional configuration properties files to load .
#U}q 7X
加载附加的配置文件的位置
MZ~.(&
.'lN4x
p+<}YDMb
struts.devMode a5V=!OoMk
Whether Struts is in development mode or not g^j7@dum
是否为struts开发模式 784;]wdy\
UH20n{_:
struts.dispatcher.parametersWorkaround 5\S&)ZA@
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /b{HG7i\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) SRf5W'4y
9p*-?kPb
struts.enable.DynamicMethodInvocation T 2|:nC)@
Allows one to disable dynamic method invocation from the URL q"nGy#UWR
允许动态方法调用 5;Ia$lm=y
Z,aGtJ.a'9
struts.freemarker.manager.classname P(;Mb{
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CQ> ]jQ,2
org.apache.struts2.views.freemarker.FreemarkerManager接口名 wPH+n-&e
H,|YLKg-|
struts.i18n.encoding 3Gd|YRtk
The encoding to use for localization messages =v0~[E4
国际化信息内码 ^PQM;"
yjpz_<7a=
struts.i18n.reload ,8VXA +'_
Whether the localization messages should automatically be reloaded %?dE{ir
是否国际化信息自动加载 cL7C2wB`
P`
]ps?l
struts.locale ^ItAW$T]F
The default locale for the Struts application FmI;lVF0j
默认的国际化地区信息 #(dhBEXPW;
rr )/`Kmv%
struts.mapper.class wY`#$)O0*
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f4
O]`U
org.apache.struts2.dispatcher.mapper.ActionMapper接口 VIg\]%qse
QgZJ`G--
struts.multipart.maxSize w4A#>;Qu*
The maximize size of a multipart request (file upload) {(0Id !
multipart请求信息的最大尺寸(文件上传用) m1y `v"
dEET}s\
struts.multipart.parser 3?^NN|xg
The org.apache.struts2.dispatcher.multipart. ^U{P3%uZ
MultiPartRequest parser implementation for a multipart request (file upload) +7Rt{C,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5M.Red.L
ArX]L$D
Ql8^]gbp+
struts.multipart.saveDir W0?JVtq0Z
The directory to use for storing uploaded files |0]YA
设置存储上传文件的目录夹 +C5#$5];
|Eu*P
struts.objectFactory 8})|^%@n
The com.opensymphony.xwork2.ObjectFactory implementation class vX 1W@s
com.opensymphony.xwork2.ObjectFactory接口(spring) 6VFirLd
C[0MA ,^
struts.objectFactory.spring.autoWire oN ;-M-(
Whether Spring should autoWire or not Rdj8*f
是否自动绑定Spring Iht'e8)gq
4v>o%
struts.objectFactory.spring.useClassCache xyvND
Whether Spring should use its class cache or not +K&?)?/=
是否spring应该使用自身的cache lJlhl7
0}D-KvjyP
struts.objectTypeDeterminer ZIe +
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class WV@X@]U
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LS{bg.e
zF?31\GOX
struts.serve.static.browserCache |zh +
If static content served by the Struts filter should set browser caching header properties or not ETxp#PZ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @wMQC\Z
X0!Bs-WFp
struts.serve.static hAlPl<BO#V
Whether the Struts filter should serve static content or not %6N)G!P
是否struts过滤器应该提供静态内容 C_-%*]*,j
{N"*olx
struts.tag.altSyntax rykj2/O
Whether to use the alterative syntax for the tags or not 'V1!&Q