struts2的struts.properties配置文件详解 Z!/!4(Fh
*]7$/%.D
struts.action.extension b p[wr
The URL extension to use to determine if the request is meant for a Struts action vvTQ!Aa
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OV"uIY[%8V
$fzO:br5WJ
struts.configuration Daw;6f:
The org.apache.struts2.config.Configuration implementation class @QN(ouq Q
org.apache.struts2.config.Configuration接口名 A_y]6~Mu?~
Nv~H797B
struts.configuration.files $_ BoG
A list of configuration files automatically loaded by Struts FI(iqSJ6
struts自动加载的一个配置文件列表 d3[O!4<T
>=6 j:
struts.configuration.xml.reload <Jf[N=
Whether to reload the XML configuration or not |3bCq(ZR\P
是否加载xml配置(true,false) s3/iG37K
*=2sXH1j
struts.continuations.package Uhw:XV@m
The package containing actions that use Rife continuations f`gs/R
含有actions的完整连续的package名称 'vX:)ZD i
/q^\g4J
struts.custom.i18n.resources ~pC\"LU`
Location of additional localization properties files to load JK/gq}c
加载附加的国际化属性文件(不包含.properties后缀) ;
u@& [
t@;r~Sb
struts.custom.properties 5r)]o'?s
Location of additional configuration properties files to load
TwI'}J|w
加载附加的配置文件的位置 n^t!+
D}MCVNd^
Hrg~<-.La
struts.devMode S;8gX1Uf
Whether Struts is in development mode or not W]CsKN,K
是否为struts开发模式 ~Z>!SMXp<
(-[73v-w
struts.dispatcher.parametersWorkaround 4Zn" K}q
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tkX?iqKQ
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) obz|*1M?
ubQbEv{(,
struts.enable.DynamicMethodInvocation _C%:AFPP>
Allows one to disable dynamic method invocation from the URL c+:XaDS-
允许动态方法调用 )ppIO"\
ls@j8bVv^
struts.freemarker.manager.classname PB(q9gf"1}
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BY5ODc$
org.apache.struts2.views.freemarker.FreemarkerManager接口名 \Q!I;
&cSZ?0R
struts.i18n.encoding YApm)O={
The encoding to use for localization messages 69?wZfj'
国际化信息内码 y2o~~te
A-&XgOL
struts.i18n.reload v,d
bto0
Whether the localization messages should automatically be reloaded @OGHS}-\
是否国际化信息自动加载 y,xJ5BI$
!de`K
|
struts.locale Rn_FYP
The default locale for the Struts application BW x=Q
默认的国际化地区信息 Js'j}w
tJvs
?eZ)
struts.mapper.class #/0d
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O>3f*Cc
org.apache.struts2.dispatcher.mapper.ActionMapper接口 M-V{(
KK';ho,W
struts.multipart.maxSize O63:t$Yx#
The maximize size of a multipart request (file upload) };;k5z I%
multipart请求信息的最大尺寸(文件上传用) ms{iQ:'9
P^57a?[`
struts.multipart.parser ' 4.T1i,
The org.apache.struts2.dispatcher.multipart. f
0r?cZ
MultiPartRequest parser implementation for a multipart request (file upload) w(oi6kg
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) })yB2Q0
U}R(
V0G"Z6
struts.multipart.saveDir +GvPJI
The directory to use for storing uploaded files x(+H1D\W
设置存储上传文件的目录夹 XI\P#"
>e^^YR^
struts.objectFactory 'w8p[h
(,
The com.opensymphony.xwork2.ObjectFactory implementation class OsV'&@+G>
com.opensymphony.xwork2.ObjectFactory接口(spring) Y[rRz6.*(
FaLc*CU
struts.objectFactory.spring.autoWire s4[PwD
Whether Spring should autoWire or not A&S n^mw
是否自动绑定Spring
vLs*}+f
c->.eL%
struts.objectFactory.spring.useClassCache /^sk y!
Whether Spring should use its class cache or not rHp2I6.0a
是否spring应该使用自身的cache A4daIhP
(
Dnp><%
struts.objectTypeDeterminer )dfwYS*[n
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K"jS,a?s 6
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P$zhMnAAN
hf\/2Vl
struts.serve.static.browserCache uE,g|51H/
If static content served by the Struts filter should set browser caching header properties or not tF:AqR:(~
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w_P2\B^
`hf`lq^
struts.serve.static (>SucUU
Whether the Struts filter should serve static content or not O?t49=uB}
是否struts过滤器应该提供静态内容 -<l2 $&KS
Wi@YJ
struts.tag.altSyntax oV'G67 W
Whether to use the alterative syntax for the tags or not I+/fX0-Lib
是否可以用替代的语法替代tags JqV}>"WMV
fb8)jd'~}O
struts.ui.templateDir !;Vqs/E
The directory containing UI templates Ez
/
W$U
UI templates的目录夹 MNf^ml[
1G8,Eah
struts.ui.theme %J8uVD.2
The default UI template theme Ip|=NQL>
默认的UI template主题 :n,x?bM
?|Ey WAL
struts.url.http.port v Q51-.g
The HTTP port used by Struts URLs BB imP
设置http端口 /s@j{*Om
E?FUr?-[
struts.url.https.port 8GeJ%^0o}
The HTTPS port used by Struts URLs @rS(3wu_&
设置https端口 9v/=o`J#
)|6OPR@(#/
struts.url.includeParams H.<