struts2的struts.properties配置文件详解 U#- 5",X|
mM2I
struts.action.extension 3sIdwY)ZS_
The URL extension to use to determine if the request is meant for a Struts action '4D7:
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *3OlWnZ?
|'u BkL0q
struts.configuration q&O9W?E8dG
The org.apache.struts2.config.Configuration implementation class !)CY\c4}d>
org.apache.struts2.config.Configuration接口名 f3^qO9R
SUIu.4Mz
struts.configuration.files O_GHvLO=
A list of configuration files automatically loaded by Struts >wL!`:c'"
struts自动加载的一个配置文件列表 "=KFag
9YB?wh'S[
struts.configuration.xml.reload t-n'I/^5
Whether to reload the XML configuration or not c6=XJvz
是否加载xml配置(true,false) 3 ]@wa!`
U3-MvI,Q
struts.continuations.package 9i
lJ
The package containing actions that use Rife continuations 8e
?9:VM]
含有actions的完整连续的package名称 +2k{yl
f}KV4'n
struts.custom.i18n.resources Hwtoa,
Location of additional localization properties files to load |/c-~|%
加载附加的国际化属性文件(不包含.properties后缀) C-@M|K9A'
@[`]w`9Q7
struts.custom.properties XbeT x
Location of additional configuration properties files to load h,-i\8gq
加载附加的配置文件的位置 #Ye0*`
b$pCp`/MT
&~x |w6M]J
struts.devMode 1}SON4U
Whether Struts is in development mode or not k_Sm ep
是否为struts开发模式 7q 5 \]J[
?)-anoFyVW
struts.dispatcher.parametersWorkaround ?' mP`9I
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic W5()A,R
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7l09
^^24a_+2
struts.enable.DynamicMethodInvocation {zc*yV\
Allows one to disable dynamic method invocation from the URL 0F6@aQ\y3
允许动态方法调用 |Q@( <'8=
cVarvueS
struts.freemarker.manager.classname O3dQno
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jeO`45O
org.apache.struts2.views.freemarker.FreemarkerManager接口名 u-bgk(u
+afkpvj8
struts.i18n.encoding w@YPG{"j
The encoding to use for localization messages Q,tjODc6n
国际化信息内码 #,FXc~ V
#Aj#C>
struts.i18n.reload 4x=sJ%E
Whether the localization messages should automatically be reloaded ^5>W`vwp
是否国际化信息自动加载 qI
tbY%
R%t|R79I
struts.locale iAPGP-<6
The default locale for the Struts application \{Je!#
默认的国际化地区信息 Lm.N
{NV'
;*U&lT
struts.mapper.class &|Rww\oJ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7fd,I% v
org.apache.struts2.dispatcher.mapper.ActionMapper接口 9"L!A,&'
o4j!:CI
struts.multipart.maxSize L$ ^ew0C
The maximize size of a multipart request (file upload) v}z^M_eFm
multipart请求信息的最大尺寸(文件上传用) %m/5!
"
3RD+;^}q3
struts.multipart.parser {A%&D^o)
The org.apache.struts2.dispatcher.multipart. u@+^lRGFh
MultiPartRequest parser implementation for a multipart request (file upload) pN)>c,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .)1u0 (?
{}gL*2:EW$
"]=XB0)
struts.multipart.saveDir EiDpy#f}
The directory to use for storing uploaded files kFT*So`'
设置存储上传文件的目录夹 zxd<Cq>d
unnuSW#v=
struts.objectFactory 31M'71s
The com.opensymphony.xwork2.ObjectFactory implementation class ?VTP|Z
com.opensymphony.xwork2.ObjectFactory接口(spring) naeppBo
mZ3Z8q}%P
struts.objectFactory.spring.autoWire P8w56
Whether Spring should autoWire or not }XRfHQk
是否自动绑定Spring V=PK)FJ
OU^I/TU
struts.objectFactory.spring.useClassCache &sXk!!85:
Whether Spring should use its class cache or not D$D;'Kij
是否spring应该使用自身的cache %RzkP}1>E
Lm0q/d2|\X
struts.objectTypeDeterminer `d
x.<R#,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qjf4G[]!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 c"Q9ob
V4W(>g
struts.serve.static.browserCache WS1Y maV
If static content served by the Struts filter should set browser caching header properties or not V.yDZ"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uMZ<i}
qA25P<