struts2的struts.properties配置文件详解 [/q
Bvuun
*<S>PbqLw
struts.action.extension /d}"s.3p
The URL extension to use to determine if the request is meant for a Struts action
+kd1q
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I;"pPJ3G
Nc(CGl:
struts.configuration mST8+R@S
The org.apache.struts2.config.Configuration implementation class C{m%]jKH
org.apache.struts2.config.Configuration接口名 ?Xvy0/s5
vE^tdzAG
struts.configuration.files {|>Wwa2e
A list of configuration files automatically loaded by Struts XQn1B3k+
struts自动加载的一个配置文件列表 %m dtVQ@
J;Z2<x/H
struts.configuration.xml.reload b
MD|
Whether to reload the XML configuration or not g(tVghHxt$
是否加载xml配置(true,false) $m#^0%
vVSDPlN;
struts.continuations.package aOd#f:{y
The package containing actions that use Rife continuations <-?C\c~G@
含有actions的完整连续的package名称 :0B 7lDw
)aGSZ1`/
struts.custom.i18n.resources ^wWbW&<Tg
Location of additional localization properties files to load O=+$XPa|
加载附加的国际化属性文件(不包含.properties后缀) yIn$ApSGY
2<B'PR-??y
struts.custom.properties C`t@tgT
Location of additional configuration properties files to load OS;
T;
加载附加的配置文件的位置 oDu6W9 +
%H\J@{f
6Jq[]l"v
struts.devMode -_Z 4)"k
Whether Struts is in development mode or not %gO/mj3*
是否为struts开发模式 _rB,N#{2R=
-GFZFi
struts.dispatcher.parametersWorkaround ;<Z6Y3>I8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :p}8#rb
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /a^
R$RHl'
8 5ET$YV
struts.enable.DynamicMethodInvocation Rs5 lL-I
Allows one to disable dynamic method invocation from the URL ':;k<(<-
允许动态方法调用 tgG*k$8z
m=l'9j"D
struts.freemarker.manager.classname YyxU/UnhG
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K [DpH&
org.apache.struts2.views.freemarker.FreemarkerManager接口名 t?G6|3
0c`zg7|
struts.i18n.encoding $4xSI"+M%
The encoding to use for localization messages y&
yf&p
国际化信息内码 jG7PT66>;
i:aW
.QZ.
struts.i18n.reload v5'`iO0o
Whether the localization messages should automatically be reloaded G*+^b'7
是否国际化信息自动加载 <9ucpV
o5a=>|?p>
struts.locale _xv3UzD
The default locale for the Struts application .+ u
b\
默认的国际化地区信息 JXJ+lZmsz
u|t l@_
struts.mapper.class :+Ukwno?/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1V1I[CxlX
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =${.*,o
Qh&Qsyo%
struts.multipart.maxSize _|GbU1Hz
The maximize size of a multipart request (file upload) A_9^S!
multipart请求信息的最大尺寸(文件上传用) ]S&ki}i&
Su,:f_If,
struts.multipart.parser -sQ[f18
The org.apache.struts2.dispatcher.multipart. *"w hup[
MultiPartRequest parser implementation for a multipart request (file upload) 4l
ZK@3
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GAgTy
* $f`ouJl
}?9&xVh?\
struts.multipart.saveDir ZEI,9`t!
The directory to use for storing uploaded files jj[6 oNKE1
设置存储上传文件的目录夹 fYUV[Gm
=p'+kS+
struts.objectFactory JnsJ]_<
The com.opensymphony.xwork2.ObjectFactory implementation class r+Ki`HD%
com.opensymphony.xwork2.ObjectFactory接口(spring) 6"Fn$ :l?
t>cGfA
struts.objectFactory.spring.autoWire :Mu*E5
Whether Spring should autoWire or not V+Tv:a
是否自动绑定Spring bOj)Wu
).5X
struts.objectFactory.spring.useClassCache NV4g5)D&L
Whether Spring should use its class cache or not tsc`u>
是否spring应该使用自身的cache !}TsFa
kh0cJE\_^
struts.objectTypeDeterminer 4uIYX
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'vBZh1`p
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $].htm
Os"('@jd>
struts.serve.static.browserCache 2DCQ5XewYe
If static content served by the Struts filter should set browser caching header properties or not PoF3fy%.
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <R$ 2x_
h`|04Q
struts.serve.static ]j*2PSJG
Whether the Struts filter should serve static content or not Lg7A[\c
~
是否struts过滤器应该提供静态内容 EhHxB
fAQ
en< $.aY
struts.tag.altSyntax {Uw
0zC
Whether to use the alterative syntax for the tags or not e NIzI]~
是否可以用替代的语法替代tags ]X>yZec
l\s!A&L
struts.ui.templateDir 0ae8Xm3J@R
The directory containing UI templates Q>%n&;:
UI templates的目录夹 [
/o'l:
W91yj:
struts.ui.theme 5X!-Hj
The default UI template theme kMQ
/9~
默认的UI template主题 rz "$zc.)
5YD~l(,S1]
struts.url.http.port P'Rw/co
The HTTP port used by Struts URLs NGc~%0n
设置http端口 Z[. M>|
J3 _aHI
struts.url.https.port u;_~{VJ-
The HTTPS port used by Struts URLs @yuiNj.T
设置https端口 bT.q@oU
"Q.*
struts.url.includeParams R_PF*q2 '
The default includeParams method to generate Struts URLs 5Kg'&B (
在url中产生 默认的includeParams .hat!Tt9
"@UQSf,
vamZKm~p
struts.velocity.configfile ~gfR1SE
The Velocity configuration file path D`LBv,n
velocity配置文件路径 B3#G
! K>iSF<
struts.velocity.contexts KMRPleF
List of Velocity context names =5+*TL`
velocity的context列表 7<yc:}9nx
LCHMh6
"313eeIt%i
struts.velocity.manager.classname GI% &.V d
org.apache.struts2.views.velocity.VelocityManager implementation class I'uwJy_I\
org.apache.struts2.views.velocity.VelocityManager接口名 cszvt2BIg
WUYI1Ij;
struts.velocity.toolboxlocation 5}#wp4U
The location of the Velocity toolbox @ma(py
velocity工具盒的位置 \Rny*px
struts.xslt.nocache (&:gD4.
Whether or not XSLT templates should not be cached dVQ[@u1,
是否XSLT模版应该被缓存 79h~w{IT@