struts2的struts.properties配置文件详解 h@h! ,;
RGU\h[
struts.action.extension r4f~z$QK
The URL extension to use to determine if the request is meant for a Struts action 4H-'Dr=G
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Tqk\XILG N
iyp=lLk
struts.configuration yA>nli=
The org.apache.struts2.config.Configuration implementation class z~Q>V]a>;
org.apache.struts2.config.Configuration接口名 4{l,
LrK,_)r:~
struts.configuration.files T5:G$-qL(
A list of configuration files automatically loaded by Struts l \?c}7k
struts自动加载的一个配置文件列表 B+0hzkPY
hG:|9Sol,
struts.configuration.xml.reload j w9b)
Whether to reload the XML configuration or not \j)E5b+
是否加载xml配置(true,false) I9Fr5p-%O
$j?1g#
struts.continuations.package ~!3r&(
The package containing actions that use Rife continuations PzR[KUK
含有actions的完整连续的package名称 9$m|'$p3sG
C/&-l{7
struts.custom.i18n.resources ,=mS,r7
Location of additional localization properties files to load 'Qo*y%{@5
加载附加的国际化属性文件(不包含.properties后缀) -S+zmo8
LraWcO\or'
struts.custom.properties ))i }7chc
Location of additional configuration properties files to load G/mXq-
加载附加的配置文件的位置 `V3Fx{
*~H Sy8s
Y)a^(!<H<
struts.devMode evJ.<{M
Whether Struts is in development mode or not pXK^Y'2C!
是否为struts开发模式 &yol_%C
0{[,E.
struts.dispatcher.parametersWorkaround C{bgkzr
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic BV+ Bk+
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S/I /-Bp~
(2
a`XwR
struts.enable.DynamicMethodInvocation :Xd<74Nu
Allows one to disable dynamic method invocation from the URL .y,0[i V
N
允许动态方法调用 ,i@:5X/t
Z87|Zl
struts.freemarker.manager.classname d5z`B H.
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dw7$Vh0y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~F?u)~QZ#
hDq`Z$_+KX
struts.i18n.encoding
0nD/;\OU
The encoding to use for localization messages tlt*fH$.
国际化信息内码 13=.H5
^w06<m
struts.i18n.reload uL/m u<
Whether the localization messages should automatically be reloaded Ji 0
tQV
是否国际化信息自动加载 FjI`uP
1~QPG\cdIX
struts.locale U!Z,xx[]
The default locale for the Struts application A$xF$l
默认的国际化地区信息 (/*]?Ehd
% -e 82J1
struts.mapper.class ~**.|%Kc
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '-/xyAzS
org.apache.struts2.dispatcher.mapper.ActionMapper接口 -8rjgB~."/
xpx\=iAe
struts.multipart.maxSize A6iq[b]
The maximize size of a multipart request (file upload) a+T.^koY
multipart请求信息的最大尺寸(文件上传用) K>l~SDcZ3
qXjxNrK
struts.multipart.parser Nm>A'bLM
The org.apache.struts2.dispatcher.multipart. W1FI mlXS
MultiPartRequest parser implementation for a multipart request (file upload) 4 vV:EF-
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +|>kCtZH%
,T8 ~L#M~
nmi|\mof
struts.multipart.saveDir e,XYVWY%
The directory to use for storing uploaded files w~?~g<q
设置存储上传文件的目录夹 \A6B,|@
:'&brp3ii=
struts.objectFactory Zdo'{ $
The com.opensymphony.xwork2.ObjectFactory implementation class HuKc9U'7A
com.opensymphony.xwork2.ObjectFactory接口(spring) yD6[\'%
gy9U2Wgf|
struts.objectFactory.spring.autoWire _1L![-ac
Whether Spring should autoWire or not }:*]aL<7_
是否自动绑定Spring x*&|0n.D
#3 pb(fbw
struts.objectFactory.spring.useClassCache B|AV$N*
Whether Spring should use its class cache or not RTJ3qhY
是否spring应该使用自身的cache fCobzDy
g]yBA7/S"
struts.objectTypeDeterminer yU}qOgXx
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8d-t|HkN
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1"M]3Kl
:e%Pvk
struts.serve.static.browserCache 1!T1Y,w
If static content served by the Struts filter should set browser caching header properties or not =-lb)Z"d
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 u21EP[[,
"djw>|,N<
struts.serve.static tlp@?(u
Whether the Struts filter should serve static content or not 3az&