struts2的struts.properties配置文件详解 [8>z#*B
%KGq*|GUu
struts.action.extension 2
;JQX!
The URL extension to use to determine if the request is meant for a Struts action QBy{|sQ`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 s|Z:}W?{
nz4<pvC,*
struts.configuration >[ eW">:>K
The org.apache.struts2.config.Configuration implementation class !Eq#[Gs
org.apache.struts2.config.Configuration接口名 t)YUPDQ@J
yL0f1nS
struts.configuration.files `E@kFJ(<On
A list of configuration files automatically loaded by Struts 3Jk[/.h
struts自动加载的一个配置文件列表 S]}}A
!; IJ
struts.configuration.xml.reload vxZg &SRK
Whether to reload the XML configuration or not ]kx-,M(
是否加载xml配置(true,false) PgMbMH
l^\(ss0~
struts.continuations.package >c<pDNt?
The package containing actions that use Rife continuations 8".2)W4*
含有actions的完整连续的package名称 nX|Q~x]
aX;A==>
struts.custom.i18n.resources i}v9ut]B
Location of additional localization properties files to load bNGCOj
加载附加的国际化属性文件(不包含.properties后缀) lwc5S`"
owvS/"@
struts.custom.properties ^i+[m
Location of additional configuration properties files to load l<(cd,
加载附加的配置文件的位置 4S|=/f
.wmnnvtl,
FZF @
struts.devMode j(iuz^I
Whether Struts is in development mode or not %Tv^GP{}
是否为struts开发模式 ?c]n^GvG
{CtR+4KD
struts.dispatcher.parametersWorkaround rEdY>\'
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic U3E&n1AA
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]ab#q=
24ux
struts.enable.DynamicMethodInvocation .Pe9_ZH$W
Allows one to disable dynamic method invocation from the URL 5+- I5HX|~
允许动态方法调用
%v+=;jw
Dw_D+7>(v
struts.freemarker.manager.classname glE^t6)
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class + H_MV=A^
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~>Kq<]3~
a^t?vv
struts.i18n.encoding x({H{'9?
The encoding to use for localization messages V5mlJml2(
国际化信息内码 ujr(K=E
t9^A(Vh"-
struts.i18n.reload QJn`WSw$_-
Whether the localization messages should automatically be reloaded -oyO+1V
是否国际化信息自动加载 @?kM'*mrZM
k`\R+WK$
struts.locale + H_WlYg-
The default locale for the Struts application ?kTWpXx"=
默认的国际化地区信息 5GQLd
>?lOE
-}^
struts.mapper.class t*G/]
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .fYZ*=P;c
org.apache.struts2.dispatcher.mapper.ActionMapper接口 f )Z%pgB
&QNY,Pj
struts.multipart.maxSize $w#r"= )
The maximize size of a multipart request (file upload) j(rL
multipart请求信息的最大尺寸(文件上传用) )IL
#>2n?
3;[DJ5
struts.multipart.parser a4MZ;5
The org.apache.struts2.dispatcher.multipart. <#M`5X.
MultiPartRequest parser implementation for a multipart request (file upload) ~utJB 'gr
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $wB^R(f@
23!;}zHp
ccFn.($p?,
struts.multipart.saveDir -r7]S
The directory to use for storing uploaded files Z8#Gwyinx
设置存储上传文件的目录夹 Pmg)v!"
p d[ncL
struts.objectFactory !y:%0{l
The com.opensymphony.xwork2.ObjectFactory implementation class 8~lIe:F-
com.opensymphony.xwork2.ObjectFactory接口(spring) H(
jXI
[,RI-#n
struts.objectFactory.spring.autoWire nl aM
Whether Spring should autoWire or not wXMDh$
是否自动绑定Spring g7V8D
U9y|>P\)T
struts.objectFactory.spring.useClassCache
|{r$jZeE
Whether Spring should use its class cache or not wxg^Bq)D*R
是否spring应该使用自身的cache J5p"7bc
oX@ya3!Pz
struts.objectTypeDeterminer 6lwta`2
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cJo\#cr
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u]-_<YZ'B
.nu @ o40
struts.serve.static.browserCache C?ib_K*
If static content served by the Struts filter should set browser caching header properties or not H=*5ASc
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4/ kv3rv
SzwQOs*
struts.serve.static *[ #;j$m
Whether the Struts filter should serve static content or not 8$s9(n-_Y
是否struts过滤器应该提供静态内容 }8|[;Qa`y
w=]Ks'C]
struts.tag.altSyntax HoV^Y6
Whether to use the alterative syntax for the tags or not FLg*R/
是否可以用替代的语法替代tags E:zF/$tG
J:uW`R
struts.ui.templateDir LE5.b]tv2
The directory containing UI templates SG}V[Glk
UI templates的目录夹 5uq3\a
~DRmON5 M
struts.ui.theme {oc igR0
The default UI template theme UYk>'\%H0
默认的UI template主题 yR{x}DbG
CT0l!J~5m~
struts.url.http.port &l$Q^g
The HTTP port used by Struts URLs 1Je9,dd6
设置http端口 M(#m0xB
3lV^B[$
struts.url.https.port PH"hn]
The HTTPS port used by Struts URLs hA\K</h.
设置https端口 +("7ZK?
zR!o{8
struts.url.includeParams syU9O&<
The default includeParams method to generate Struts URLs f.24:Dw,
在url中产生 默认的includeParams b:qY gg
=%'`YbD$
1n%?@+W
struts.velocity.configfile ]Jh+'RK\#
The Velocity configuration file path %uv?we7
velocity配置文件路径 VG/3xR&y
u77E! z4Uz
struts.velocity.contexts n| GaV
List of Velocity context names Z3[S]jC
velocity的context列表 s2j['g5
2pdvWWh3l
9qS"uj
struts.velocity.manager.classname >0p$(>N]
org.apache.struts2.views.velocity.VelocityManager implementation class $gBd <N9|c
org.apache.struts2.views.velocity.VelocityManager接口名 '`1CBU$
7d92Pe
struts.velocity.toolboxlocation 7JSNYTH
The location of the Velocity toolbox =]3tUD
velocity工具盒的位置 oK{ V7
struts.xslt.nocache hzk6rYg1
Whether or not XSLT templates should not be cached 'zh7_%
是否XSLT模版应该被缓存 gm9mg*aM