struts2的struts.properties配置文件详解 s6@DGSJ
oaIi2=Tf
struts.action.extension }n>p4W"OM
The URL extension to use to determine if the request is meant for a Struts action H["`Mn7j2
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 MB~=f[cUnd
E4M@WNPx
struts.configuration t&AFUt\c
The org.apache.struts2.config.Configuration implementation class V T\F]Oa#
org.apache.struts2.config.Configuration接口名 o%IA}e7PAa
uc){+'[
struts.configuration.files 3R.W>U
A list of configuration files automatically loaded by Struts U`2e{>'4t
struts自动加载的一个配置文件列表 T[g[&K1Y
9[.8cg*
struts.configuration.xml.reload ,)vDeU
Whether to reload the XML configuration or not _I:/ZF5
是否加载xml配置(true,false) f,kZ\Ia'r
']2E {V
struts.continuations.package ;6>2"{NW
The package containing actions that use Rife continuations ]7Tkkw$
含有actions的完整连续的package名称 YTUZoW2
7+\+DujE$
struts.custom.i18n.resources =4FXBPoQK
Location of additional localization properties files to load xHD=\,{ig
加载附加的国际化属性文件(不包含.properties后缀) 2#c<\s|C
ww],y@da
struts.custom.properties R}*_~7r5
Location of additional configuration properties files to load +%ee8|\
加载附加的配置文件的位置 |#]@Z)xa
X:vghOt?
lPw%ErG
struts.devMode u>2
l7PA|
Whether Struts is in development mode or not qVH1}9_
是否为struts开发模式 .\)U@L~
&m-PC(W+
struts.dispatcher.parametersWorkaround E87Ww,z8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic E2R&[Q"%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6ZP(E^.
LG9+y
struts.enable.DynamicMethodInvocation PHZ0P7
Allows one to disable dynamic method invocation from the URL JB<Sl4
允许动态方法调用 `p2+&&]S
\hDlTp}
struts.freemarker.manager.classname H4:`6 PSL
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |}=acc/
org.apache.struts2.views.freemarker.FreemarkerManager接口名 _Xk.p_uh
-zOdU}91Ao
struts.i18n.encoding bk;?9%TW
The encoding to use for localization messages }fb#G<3
国际化信息内码 +BETF;0D
TQpf Q
struts.i18n.reload dfKF%27
Whether the localization messages should automatically be reloaded ,!#*GZ.ix
是否国际化信息自动加载 C~2F9Pg
jB%lB1Q|
struts.locale n<O}hM ZT
The default locale for the Struts application 2bw_IT
默认的国际化地区信息 }$SavB#SBP
k_
& :24Lj
struts.mapper.class ,,%i;
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <m)$K
org.apache.struts2.dispatcher.mapper.ActionMapper接口 D$
dfNiCH
Xg|B \\
struts.multipart.maxSize /:~\5}tW
The maximize size of a multipart request (file upload) ,)Me
multipart请求信息的最大尺寸(文件上传用) MQ5R O;RY
z> Rsi
struts.multipart.parser dCi?SIN
The org.apache.struts2.dispatcher.multipart. $'BSH4~|.
MultiPartRequest parser implementation for a multipart request (file upload) Pg,b-W?n*
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) + jc!5i .
Q=;U@k@>
&"f";
struts.multipart.saveDir V58wU:li
The directory to use for storing uploaded files JTO~9>$ B
设置存储上传文件的目录夹 =,spvy'"*C
nAW:utTB
struts.objectFactory %b&".mN
The com.opensymphony.xwork2.ObjectFactory implementation class l{I6&^!KS
com.opensymphony.xwork2.ObjectFactory接口(spring) ($au:'kU
Cl;oi}L
struts.objectFactory.spring.autoWire Rdvk
ml@@
Whether Spring should autoWire or not DFZkh^PFd
是否自动绑定Spring I`-8Air5f
5na~@-9p
struts.objectFactory.spring.useClassCache ;RDh~EV
Whether Spring should use its class cache or not @XLy7_}
是否spring应该使用自身的cache n0r+A^]
[Dk=? +
struts.objectTypeDeterminer KHe=O1 %QO
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class OK[T3/v,
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^t` k0<
-lbm*
-(
struts.serve.static.browserCache be]bZ
1f
If static content served by the Struts filter should set browser caching header properties or not Tl(^
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 F,W~,y
27
]':A4_
struts.serve.static TSTl+W
Whether the Struts filter should serve static content or not =mS\i663
是否struts过滤器应该提供静态内容 nKPYOY8^
s)noo
struts.tag.altSyntax `eE&