struts2的struts.properties配置文件详解 +aj^Cs1$
St2Q7K5s{
struts.action.extension
$WR?
The URL extension to use to determine if the request is meant for a Struts action Wy.";/C
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Je@k iE
kN.B/itvA
struts.configuration ^SAq^3^P!
The org.apache.struts2.config.Configuration implementation class @/ k x
er
org.apache.struts2.config.Configuration接口名 ULIFSd Y
gB >pd?d
struts.configuration.files H]]c9`ayt
A list of configuration files automatically loaded by Struts ~z`/9;
struts自动加载的一个配置文件列表 eC;!YGZ
*i@T!O(1)M
struts.configuration.xml.reload ED/FlL{
Whether to reload the XML configuration or not y1#O%=g
是否加载xml配置(true,false) \lW_f{X)
7`dY 1.rq
struts.continuations.package _ eiF@G
The package containing actions that use Rife continuations x9~[HuJ
含有actions的完整连续的package名称 4w;~4#ZPp
lLMPw}r<
struts.custom.i18n.resources lJ&y&N<O
Location of additional localization properties files to load O|7yP30?M
加载附加的国际化属性文件(不包含.properties后缀) R6<4"?*r
Cg3ODfe
struts.custom.properties H-2_j
Location of additional configuration properties files to load 9n 6fXOC
加载附加的配置文件的位置 3q?5OL^$
)88nMH-
wVE:X3Ei
struts.devMode -dG,*0 >
Whether Struts is in development mode or not $rB6<
是否为struts开发模式 Y"*:&E2)r
puF%=i
struts.dispatcher.parametersWorkaround "H?QqrKx
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +Vy_9I(4Z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0;<OYbm3<
cgN>3cE
struts.enable.DynamicMethodInvocation auL^%M|$R
Allows one to disable dynamic method invocation from the URL |Euus5[
允许动态方法调用 Pr/]0<s
'evv,Q{87
struts.freemarker.manager.classname ]"h=Qc
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )x[HuIRaa
org.apache.struts2.views.freemarker.FreemarkerManager接口名 -TS?
fne)
nvH|Ngg Q
struts.i18n.encoding ) Fx?%
The encoding to use for localization messages 0D~=SekQ9
国际化信息内码 ZF'HM@cfo
3Oiy)f@{TF
struts.i18n.reload 11{y}J
Whether the localization messages should automatically be reloaded !^L-T?y.2
是否国际化信息自动加载 8&."uEOOU
Dft%ip2
struts.locale uw"*zBxl
The default locale for the Struts application k!owl+a
默认的国际化地区信息 ;{Jb6'K1h
^mf jn-=3
struts.mapper.class <[<247%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y
1nU{Sc@
org.apache.struts2.dispatcher.mapper.ActionMapper接口 }dKLMNqPA
@ae>b
struts.multipart.maxSize >{t+4 p4k.
The maximize size of a multipart request (file upload) qd8pF!u|#
multipart请求信息的最大尺寸(文件上传用) )5G QJiY
1.0J2nZpt
struts.multipart.parser {i;6vRr
The org.apache.struts2.dispatcher.multipart. 7"K^H]6u30
MultiPartRequest parser implementation for a multipart request (file upload) ,C:o`fQ\
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $3#%aA!(#
FUqt)YHi
^Plc}W7h
struts.multipart.saveDir m[rL\](-
The directory to use for storing uploaded files eEP(
).
设置存储上传文件的目录夹 SH=:p^J
=~JfVozU
struts.objectFactory ET+'Pj3
The com.opensymphony.xwork2.ObjectFactory implementation class iaRR5D-
com.opensymphony.xwork2.ObjectFactory接口(spring) %w:'!X><
@n@g)`
struts.objectFactory.spring.autoWire VYigxhP7
Whether Spring should autoWire or not _lT0Hu
是否自动绑定Spring 7P*Z0%Q
mPG7Zy$z
struts.objectFactory.spring.useClassCache /buWAX1
Whether Spring should use its class cache or not 7Ud'd<
是否spring应该使用自身的cache xiCN
qk3
QptOQ3!
struts.objectTypeDeterminer e1uMR-Q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s OQcx\dK
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M=[th
QiU_hz6?v
struts.serve.static.browserCache r0Z+RB^I
If static content served by the Struts filter should set browser caching header properties or not =YHt9fb$c
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j ug'g
j+Zt.KXjT
struts.serve.static %)JRbX<c
Whether the Struts filter should serve static content or not Nf5WQTa4
是否struts过滤器应该提供静态内容 GoD ?K C
^@"c`
struts.tag.altSyntax k>>`fE\K
Whether to use the alterative syntax for the tags or not 5~U:@Tp
是否可以用替代的语法替代tags ~p.%.b;~t
p8>R#9
struts.ui.templateDir (:OHyeNt
The directory containing UI templates N&x:K+Zm.
UI templates的目录夹 v.b5iv 5
0!_*S )
struts.ui.theme k*Pz&8|
The default UI template theme _+n;A46
默认的UI template主题 w[sR7T9*
kwF] TO
S
struts.url.http.port [>p6
The HTTP port used by Struts URLs b0YNac.l
设置http端口 \u8,!) 4i
[-58Ezyr
struts.url.https.port $?$9y^\
The HTTPS port used by Struts URLs pL)xqKj
设置https端口 @H+~2;B,
9[sG1eP!
struts.url.includeParams 5p
)IV>G
The default includeParams method to generate Struts URLs +V1}@6k
:
在url中产生 默认的includeParams MWhwMj!:m
1|/'"9v
"Z~`e]>
struts.velocity.configfile J#(,0h
The Velocity configuration file path _.=`>%,
velocity配置文件路径 [TEcg^
^6qjSfFW}
struts.velocity.contexts 0I^Eo|
List of Velocity context names cAibB&`~
velocity的context列表 ^jOCenE3
G4m4k
&-4
?!
struts.velocity.manager.classname ~},~c:fF?
org.apache.struts2.views.velocity.VelocityManager implementation class r{Z[xWIX
org.apache.struts2.views.velocity.VelocityManager接口名 SB1[jcJ
]>vf 9]
struts.velocity.toolboxlocation 6ZOAmH fs
The location of the Velocity toolbox T<M?PlED
velocity工具盒的位置 AsAFUuI
struts.xslt.nocache !o<ICHHH
Whether or not XSLT templates should not be cached u}m.}Mws
是否XSLT模版应该被缓存 :MBS>owR