struts2的struts.properties配置文件详解 Cq;d2u0)o$
5T#D5Z<m
struts.action.extension >]8.xkQq
The URL extension to use to determine if the request is meant for a Struts action UROi.976D
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q.{/{9
/j@ `aG(a
struts.configuration !5t 3Y
The org.apache.struts2.config.Configuration implementation class 4{t$M} ?N
org.apache.struts2.config.Configuration接口名 F:GKnbY
~la04wR28
struts.configuration.files >Fk`h=Wd
A list of configuration files automatically loaded by Struts T?{9Z
struts自动加载的一个配置文件列表 KdsvZim0>
"e<.
n
struts.configuration.xml.reload z}8L}:
Whether to reload the XML configuration or not \RyA}P5S
是否加载xml配置(true,false) -wMW@:M_
Hd`p_?3]
struts.continuations.package -GVG1#5
The package containing actions that use Rife continuations HW Os@!cL
含有actions的完整连续的package名称 PGl-2Cr
}/3pC a
struts.custom.i18n.resources % ul{nL:
Location of additional localization properties files to load z}&C(m:al
加载附加的国际化属性文件(不包含.properties后缀) BM~niW;k
){6)?[G
struts.custom.properties UVUO}B@[S
Location of additional configuration properties files to load })vr*[
加载附加的配置文件的位置 E?U]w0g
X$Vz
Go7hDmu
struts.devMode _5 tqO5'
Whether Struts is in development mode or not ]GKx[F{)
是否为struts开发模式 m@yVG|eP#
_k.bGYldk
struts.dispatcher.parametersWorkaround Jd"s~n<>K
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N4|q2Jvj6
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,!u@:UBT
)Hm[j)YI
struts.enable.DynamicMethodInvocation X`QW(rq
Allows one to disable dynamic method invocation from the URL NVWeJ+w
允许动态方法调用 bMOM`At>z
rGGepd
struts.freemarker.manager.classname HKN"$(Q
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A=]F_
org.apache.struts2.views.freemarker.FreemarkerManager接口名 810<1NP
3N0X?* (x|
struts.i18n.encoding kS#DKo
The encoding to use for localization messages q)xl$*g
国际化信息内码 nYt\e]3
T&"dBoUq>G
struts.i18n.reload _D,f4.R
Whether the localization messages should automatically be reloaded mX.3R+t
是否国际化信息自动加载 I4f
mKQST ]5
struts.locale G_N-}J>EP
The default locale for the Struts application 1za'u_
默认的国际化地区信息 ,xD*^>!
HmB[oH"x
struts.mapper.class VN-#R=D
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class uPC qO+f
org.apache.struts2.dispatcher.mapper.ActionMapper接口 R:BBNzY}f
tDHHQ
struts.multipart.maxSize 39aCwhh7v
The maximize size of a multipart request (file upload) C2=iZ`Z>T
multipart请求信息的最大尺寸(文件上传用) rspoSPnY1
3kqV_Pjg
struts.multipart.parser <*Kh=v
The org.apache.struts2.dispatcher.multipart. t^_{5
MultiPartRequest parser implementation for a multipart request (file upload) \i;&@Kp.N
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6`baQ!xc.
6Vbv$ AU
>{qK]xj
struts.multipart.saveDir 0ij~e<
The directory to use for storing uploaded files X$|TN+Ub
设置存储上传文件的目录夹 !eAdm
!:O/|.+Vmf
struts.objectFactory OV("mNh
The com.opensymphony.xwork2.ObjectFactory implementation class 6SBvn%
com.opensymphony.xwork2.ObjectFactory接口(spring) p@7i=hyt`p
*(&ClUQQ
struts.objectFactory.spring.autoWire .4C[D{4
Whether Spring should autoWire or not >yA,@%X
是否自动绑定Spring ^8oc^LOa~2
KWhM
struts.objectFactory.spring.useClassCache u ?G\b{$m
Whether Spring should use its class cache or not v;bP8)mI
是否spring应该使用自身的cache 3ES[ N.V#
jo;uR l
struts.objectTypeDeterminer ZG/8 Ds
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]%<Q:+38
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &e]]F#
=Kt9,d08x
struts.serve.static.browserCache ]O7.ss/2
If static content served by the Struts filter should set browser caching header properties or not Ns!3- Y
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 m,gy9$
H
MjeGO.i
struts.serve.static &Ky u@Tt
Whether the Struts filter should serve static content or not k Kp6
是否struts过滤器应该提供静态内容 Rw/JPC"
yLgKS8b
struts.tag.altSyntax 2}Z4a\YX
Whether to use the alterative syntax for the tags or not ',H$zA?i
是否可以用替代的语法替代tags 42J';\)oP
1ntkM?
struts.ui.templateDir BU]WN7]D$
The directory containing UI templates *bxJ)9B
UI templates的目录夹 }6CXJ+-UR
N;x<| %peL
struts.ui.theme LE<u&9I\
The default UI template theme ~6-"i0k
默认的UI template主题 si^4<$Nr%j
Z`oaaO
struts.url.http.port Od!F: <
The HTTP port used by Struts URLs O\4+_y
设置http端口 ?bt`fzX{l
5rfH;`
struts.url.https.port ]/o12pI
The HTTPS port used by Struts URLs Jny)uo8
设置https端口 Zc%foK{
P!FEh'.
struts.url.includeParams kByrhK5U
The default includeParams method to generate Struts URLs #6N+5Yx_[
在url中产生 默认的includeParams AvrL9D
y^d[( c
KM/U?`6>:
struts.velocity.configfile z;y^t4
^9
The Velocity configuration file path <g3du~
velocity配置文件路径 8Q^6ibE
ws>WA{]gq
struts.velocity.contexts $"sq4@N
List of Velocity context names Hbjb7Y?[
velocity的context列表 :WK"-v
zNV!@Yr
BKC7kDK3H
struts.velocity.manager.classname kqKj7L
org.apache.struts2.views.velocity.VelocityManager implementation class
':4}O#
org.apache.struts2.views.velocity.VelocityManager接口名 '?"t<$b
$hjP}- oUX
struts.velocity.toolboxlocation h"%|\o+3
The location of the Velocity toolbox axK6sIxx
velocity工具盒的位置 b^[W_y
struts.xslt.nocache *L%6qxl`V
Whether or not XSLT templates should not be cached M5GY>3P$c
是否XSLT模版应该被缓存 f0uUbJ5