struts2的struts.properties配置文件详解 Gu@n1/m@o
Q?xA))0
struts.action.extension FNlS)Bs
The URL extension to use to determine if the request is meant for a Struts action Q-<h)WTA
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。
w#}[=jy
'Y2ImSWj
struts.configuration z|bAZKSRYx
The org.apache.struts2.config.Configuration implementation class 4g+Dp&U
org.apache.struts2.config.Configuration接口名 r:3h2J[_
YC[cQX
struts.configuration.files vB<9M-sa0
A list of configuration files automatically loaded by Struts pF/s5z
struts自动加载的一个配置文件列表 fj|X`,TiZ;
T{:8,CiW
struts.configuration.xml.reload B_mT[)ut
Whether to reload the XML configuration or not |W*#N8IP
是否加载xml配置(true,false) mRO@ZY;5
dOX"7kZ
struts.continuations.package 2Q=I`H_
The package containing actions that use Rife continuations <P~pn!F}
含有actions的完整连续的package名称 g o9tvK
^u(-v/D9
struts.custom.i18n.resources =O%'qUj`q
Location of additional localization properties files to load H
S)$|m_
加载附加的国际化属性文件(不包含.properties后缀) ',Y`\X
x3:d/>b
struts.custom.properties 2q4-9vu
Location of additional configuration properties files to load ZZM;%i-B
加载附加的配置文件的位置 RiG]-K:
} `Cc-X7
jr(|-!RVMN
struts.devMode os n ,kD*
Whether Struts is in development mode or not XTJA"y
是否为struts开发模式 mWF\h>]|.
l6-
n{zG
struts.dispatcher.parametersWorkaround v:"Y
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ''($E/
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
RK/>5
G/ H>M%M
struts.enable.DynamicMethodInvocation SohNk9u[8
Allows one to disable dynamic method invocation from the URL </pt($
允许动态方法调用 Q!5W x
97dF
struts.freemarker.manager.classname (%'`t(<
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `ff@f]|3^
org.apache.struts2.views.freemarker.FreemarkerManager接口名 YJ+l
\Wb}
L|8&9F\
struts.i18n.encoding /[5\T2GI
The encoding to use for localization messages $9h^tP'CV
国际化信息内码 cv;2zq=T
+TAyCxfmt
struts.i18n.reload m=TZfa^r
Whether the localization messages should automatically be reloaded 5S[:;o
是否国际化信息自动加载 Y.q$"lm7k
*^KEb")$
struts.locale "pO**z$Z
The default locale for the Struts application Z5g*'
默认的国际化地区信息 _q4Yq'dI
k(xB%>ns
struts.mapper.class ?w&?P}e +
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MAp#1+k
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &UVqFo
^x Z=";eq
struts.multipart.maxSize nchpD@'t
The maximize size of a multipart request (file upload) *uSlp_;kB
multipart请求信息的最大尺寸(文件上传用) xf?"Q#
/z(d!0_q|v
struts.multipart.parser %_G '#Bn<
The org.apache.struts2.dispatcher.multipart. K"!U&`T
MultiPartRequest parser implementation for a multipart request (file upload) (1[Z#y[
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vs>Pd |p;
oFhBq0@
?BbEQr
struts.multipart.saveDir C`uL
4r
The directory to use for storing uploaded files '$VP\Gj.
设置存储上传文件的目录夹 IR?nH`V
D&=+PAX
struts.objectFactory bN|1%[7
The com.opensymphony.xwork2.ObjectFactory implementation class UG vUU<N|N
com.opensymphony.xwork2.ObjectFactory接口(spring) a
p( PI?]X
>;#rK@*&
struts.objectFactory.spring.autoWire n<F3&2w
Whether Spring should autoWire or not 1r5Z$3t\
是否自动绑定Spring {E}D6`{
o}D
}Q"=A
struts.objectFactory.spring.useClassCache X5-[v(/]
Whether Spring should use its class cache or not lanU)+U.
是否spring应该使用自身的cache F=PBEaX
i2-]Xl
struts.objectTypeDeterminer 3lKs>HE0
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?m9=Me
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 xZ* B}O{{H
roBbo
struts.serve.static.browserCache q"WfKz!U
If static content served by the Struts filter should set browser caching header properties or not Ir(U7D
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 HdTB[(
uZ+"-Ig
struts.serve.static |QQ(1#d
Whether the Struts filter should serve static content or not V2:S
9vO'
是否struts过滤器应该提供静态内容 {DE4PE`
s7\Ee-x)s
struts.tag.altSyntax m:k;?p:x
Whether to use the alterative syntax for the tags or not VMS3Q)Ul
是否可以用替代的语法替代tags 'R#MH
PG@C5Rnu
struts.ui.templateDir ,Ww.W'#P
The directory containing UI templates Fh&USn"
UI templates的目录夹 T hVq5
V0*MY{x#S
struts.ui.theme yNG|YB;
The default UI template theme 1_8@yO
默认的UI template主题 AmUH]+5KT
0d89>UB-8q
struts.url.http.port |Qpd<L
The HTTP port used by Struts URLs iszVM
设置http端口 *ozXilO
q4vHsy36
struts.url.https.port
8hMy$
The HTTPS port used by Struts URLs ,,g: x
设置https端口 67||wh.BU
n"vO?8Sx
struts.url.includeParams 1M?Sl?+j
The default includeParams method to generate Struts URLs '*`1uomeo
在url中产生 默认的includeParams ^e80S^
w;kiH+&
$ dKo}
struts.velocity.configfile l{\k\Q !4
The Velocity configuration file path %+(fdk-k+
velocity配置文件路径 KB{/L5
UI wTf2B
struts.velocity.contexts |T*t3}
List of Velocity context names COxJ,v(
velocity的context列表 \.F|c
bE jQMlb
n0uL^{B
struts.velocity.manager.classname $SzuUI
org.apache.struts2.views.velocity.VelocityManager implementation class >^v,,R8j
org.apache.struts2.views.velocity.VelocityManager接口名 TUQe.oAi
)>pIAYCVP
struts.velocity.toolboxlocation n ,@ge
The location of the Velocity toolbox JK'tdvs~
velocity工具盒的位置 "&\]1A}Z-x
struts.xslt.nocache xoQqku"vn
Whether or not XSLT templates should not be cached =[)2DJC
是否XSLT模版应该被缓存 {y<E_y
x1