struts2的struts.properties配置文件详解 JvYs6u
6Oy6r
struts.action.extension meZZQ:eSl
The URL extension to use to determine if the request is meant for a Struts action ,,;vG6^a
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZUS06#t}
\pXo~;E\
struts.configuration NtkZ\3
The org.apache.struts2.config.Configuration implementation class
^M+aQg%
org.apache.struts2.config.Configuration接口名 9JO1O:W
|d=GAW
v
struts.configuration.files >^D5D%"
A list of configuration files automatically loaded by Struts Q}#xfrprF
struts自动加载的一个配置文件列表 " : V@AT
X?Or.
struts.configuration.xml.reload Jt3*(+J>/
Whether to reload the XML configuration or not B^C5?
是否加载xml配置(true,false) &t}6sD9o
_z>%h>L|g
struts.continuations.package fzUG1|$e
The package containing actions that use Rife continuations R#!Urhh
含有actions的完整连续的package名称 fvj
b?:?"
struts.custom.i18n.resources Wz;@Rl|F
Location of additional localization properties files to load nI/kX^Pd
加载附加的国际化属性文件(不包含.properties后缀) TjOK8
t
w@H@[x
struts.custom.properties 3|D .r-Q
Location of additional configuration properties files to load M|7][!<G!
加载附加的配置文件的位置 )NO,G
`t+;[G>ZE
VP*B<u
struts.devMode I>lblI$7
Whether Struts is in development mode or not !\\OMAf7
是否为struts开发模式 ,_@) IN
yUs/lI, Q
struts.dispatcher.parametersWorkaround "g5MltH
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %DKC/%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) bjq.nn<=
q><wzCnRu~
struts.enable.DynamicMethodInvocation O;.DQ
Allows one to disable dynamic method invocation from the URL vd/ BO
允许动态方法调用 gi+FL_8CzU
,nJCqX~/G
struts.freemarker.manager.classname O6ltGtF
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class NRI[|
org.apache.struts2.views.freemarker.FreemarkerManager接口名 B/B`=%~5_^
" s/ws
struts.i18n.encoding ,My'_"S?
The encoding to use for localization messages X$eR RSW
国际化信息内码 F<{k~
QV
-ZP'e^
struts.i18n.reload SPnW8
Whether the localization messages should automatically be reloaded qAt#0
是否国际化信息自动加载 Z>*a:|
rr2^sQ;_
struts.locale uEkGo5
The default locale for the Struts application ]+>Kl>@
默认的国际化地区信息 f DPLB[
Th4}$)yrkN
struts.mapper.class Wr8}=\/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I0G[K~gb
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q)5V3Q]@^
oAvLSFn
struts.multipart.maxSize @ ZN@EOM$+
The maximize size of a multipart request (file upload) ;8b!T
-K
multipart请求信息的最大尺寸(文件上传用) WUb] 8$n
M2nUY`%#v
struts.multipart.parser <slrzc_>&
The org.apache.struts2.dispatcher.multipart. c`oW-K{
MultiPartRequest parser implementation for a multipart request (file upload) N w/it*f
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) u.}H)wt
[4+I1UR`
w,t !<i
struts.multipart.saveDir p9&gKIO_m
The directory to use for storing uploaded files biRkqc;
设置存储上传文件的目录夹 [{zfI`6
#!P>.".
struts.objectFactory (^58$IW71
The com.opensymphony.xwork2.ObjectFactory implementation class "oh;?gQ.
com.opensymphony.xwork2.ObjectFactory接口(spring) k h6n(B\
- *qoF(/U
struts.objectFactory.spring.autoWire PoLk{{l3
Whether Spring should autoWire or not Xm<|m#
是否自动绑定Spring }taG/kE62
t(}g;O-
struts.objectFactory.spring.useClassCache V?~!D p
Whether Spring should use its class cache or not {
PS0.UZ
是否spring应该使用自身的cache p[}~Z|(
*hh9
K
struts.objectTypeDeterminer ,x?Jrcx~'C
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #VsS C1
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [rz5tfMp
SeLFubs_
struts.serve.static.browserCache TY?O$d2b3
If static content served by the Struts filter should set browser caching header properties or not N|/gwcKe
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 JW"n#sR4
arvKJmD
struts.serve.static U[z2{\
Whether the Struts filter should serve static content or not fr}.#~{5Y
是否struts过滤器应该提供静态内容 Hk$do`H-=Y
^-F#"i|Cn
struts.tag.altSyntax t_+owiF)M
Whether to use the alterative syntax for the tags or not )_}xK={
是否可以用替代的语法替代tags V7B%o:FZo
iu2O/l#r
struts.ui.templateDir l
nJ
The directory containing UI templates YD0j&@.
UI templates的目录夹 EAz>`~
uUe#+[bD
struts.ui.theme ^2i$AM1t
The default UI template theme M|R\[
Zf
默认的UI template主题 ;D@ F
40[@d
struts.url.http.port V(Cxd.u
The HTTP port used by Struts URLs P G
zwS
设置http端口 #}Bv/`t
qHPinxewx
struts.url.https.port r4 qs!(
The HTTPS port used by Struts URLs HcrlcxwM\i
设置https端口 U&SSc@of
mRN[lj
struts.url.includeParams O`Htdnu
The default includeParams method to generate Struts URLs i8%Z(@_`
在url中产生 默认的includeParams
yZb})4.
3ouo4tf$H.
cQ3p|a `
struts.velocity.configfile "![KQ
The Velocity configuration file path y,`q6(&
velocity配置文件路径 j"+6aD/lv
ry+|gCZ
struts.velocity.contexts c?6(mU\x
List of Velocity context names e0IGx]5i
velocity的context列表 =FMrVE
,+x\NY2d
3h6,x0AG
struts.velocity.manager.classname
&a6-+r
org.apache.struts2.views.velocity.VelocityManager implementation class hMgk+4*
org.apache.struts2.views.velocity.VelocityManager接口名 y^ D3}ds
<~e*YrJ?-
struts.velocity.toolboxlocation ?P}) Qa
The location of the Velocity toolbox #v4^,$k>
velocity工具盒的位置 [a.(0YLr'w
struts.xslt.nocache D\E"v,Y\+O
Whether or not XSLT templates should not be cached kmt+E'^]
是否XSLT模版应该被缓存 DLO#_t^v.