struts2的struts.properties配置文件详解 ,Ep41v;T%`
GOj<>h}r
struts.action.extension \@hq7:Q
The URL extension to use to determine if the request is meant for a Struts action A
v[|G4n
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2; ~jKR[~
\Zmn!Gg
struts.configuration }e4#Mx
The org.apache.struts2.config.Configuration implementation class DY?;Z98P?
org.apache.struts2.config.Configuration接口名 ]}s'`44J9e
4A\>O?\
struts.configuration.files FiW>kTM8
A list of configuration files automatically loaded by Struts ))eQZ3ap9
struts自动加载的一个配置文件列表 P"ATqQG%D
l_0/g^(
struts.configuration.xml.reload _p,1m[&M
Whether to reload the XML configuration or not (#5TM1/A
是否加载xml配置(true,false) {5J: ]{p
y5$AAas
struts.continuations.package ]n (:X
The package containing actions that use Rife continuations jb0LMl}/A
含有actions的完整连续的package名称 RAi]9` *7
w5R?9"d@
struts.custom.i18n.resources /4bHN:I]M
Location of additional localization properties files to load HG:9yP<,o
加载附加的国际化属性文件(不包含.properties后缀) @&}~r
8w L%(p
struts.custom.properties m5KAKpCR,
Location of additional configuration properties files to load O
cJ(i#Q~<
加载附加的配置文件的位置 k!=
jO#)Rd
pjrzoMF
jgd^{!
struts.devMode 2kV{|`1
Whether Struts is in development mode or not ,n\'dMNii
是否为struts开发模式 y -=YX qj
#F25,:hY
struts.dispatcher.parametersWorkaround wxIWh>pZa
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C .{`-RO
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $R_RKyXzo
VMgO1-F
struts.enable.DynamicMethodInvocation aOK,Mm:iO
Allows one to disable dynamic method invocation from the URL E6_.Q `!ll
允许动态方法调用 Dvz}sQZ
d|RDx;rl8
struts.freemarker.manager.classname ,G%?}TfC)
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -:NFF'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 |"o/GUI~
E!}~j
struts.i18n.encoding o%V%@q H
The encoding to use for localization messages $ITh)#Nj
国际化信息内码 C|H/x\?zRv
*7:HO{P>Y
struts.i18n.reload j/*4Wj[
Whether the localization messages should automatically be reloaded Q=T/hb
是否国际化信息自动加载 wTK>U`o
{((|IvP`
struts.locale aFtL_#
U
The default locale for the Struts application a?5R;I B
默认的国际化地区信息 }`*DMI;-
("5Eed
struts.mapper.class z3Ro*yJU
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [r;hF
org.apache.struts2.dispatcher.mapper.ActionMapper接口 J sc`^a%`'
v dR6y
struts.multipart.maxSize '>0rp\jC
The maximize size of a multipart request (file upload) >+E
multipart请求信息的最大尺寸(文件上传用) `6B jNV
'X{J~fEI!
struts.multipart.parser ;JAb8dyS2
The org.apache.struts2.dispatcher.multipart. })^%>yLfc|
MultiPartRequest parser implementation for a multipart request (file upload) |6y(7Ha
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )EptyH
cO^}A(Ma(
2pn8PQfg)
struts.multipart.saveDir \V/;i.ng
The directory to use for storing uploaded files />[X
k
设置存储上传文件的目录夹 R#w9%+
,)](h+zl_6
struts.objectFactory [G>U>[u|
The com.opensymphony.xwork2.ObjectFactory implementation class . L'eVLQe
com.opensymphony.xwork2.ObjectFactory接口(spring) :3$-Qv X
[Adkj
struts.objectFactory.spring.autoWire oNK-^N?-T
Whether Spring should autoWire or not B`1"4[{
是否自动绑定Spring `-QY<STTP9
y4Fuh nb>
struts.objectFactory.spring.useClassCache [ yf&]0
Whether Spring should use its class cache or not g?=|kp
是否spring应该使用自身的cache %}x$YDO
Q\k|pg?
struts.objectTypeDeterminer &ytnoj1L(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =%IBl]Z!"
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cc_v 4d{x
gHe%N?'
struts.serve.static.browserCache QGI_aU
If static content served by the Struts filter should set browser caching header properties or not VGtKW kVH
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 jUg.Y98
\$%q <_l
struts.serve.static u/g4s (a
Whether the Struts filter should serve static content or not 6l|,J`G
是否struts过滤器应该提供静态内容 ;&8
+K"8Q'&