struts2的struts.properties配置文件详解 H{x'I@+
5V':3o;D__
struts.action.extension 6U Q~Fv`]
The URL extension to use to determine if the request is meant for a Struts action 4QARrG%
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e4fh<0gX
1Mn=m w
struts.configuration DI{VJ&n66
The org.apache.struts2.config.Configuration implementation class i+
]3J/J
org.apache.struts2.config.Configuration接口名 *39Y1+=)$$
3+ %a
struts.configuration.files S1p4.qJ
A list of configuration files automatically loaded by Struts [_Fj2nb*
struts自动加载的一个配置文件列表 <U%4$83$
U>H"N1
struts.configuration.xml.reload r7+"i9
Whether to reload the XML configuration or not F0t-b %w,
是否加载xml配置(true,false) I<L
Y``50{7
struts.continuations.package
xAbx.\
The package containing actions that use Rife continuations 1YV ;pEw3w
含有actions的完整连续的package名称 0/5
a3-3{
++w7jVi9
struts.custom.i18n.resources
?12[8
Location of additional localization properties files to load ^hr^f;N
加载附加的国际化属性文件(不包含.properties后缀) XD%@Y~>+
mM0VUSy
struts.custom.properties -+?ZJ^A
Location of additional configuration properties files to load OyH>N/
加载附加的配置文件的位置 io%WV%1_
i/E"E7
R&KFF'%
struts.devMode
&OQ37(<_
Whether Struts is in development mode or not _JNSl2
是否为struts开发模式 s;e%*4
w%~UuJ#i
struts.dispatcher.parametersWorkaround JN)@bP
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `yJ3"{uO
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h]T
0`UI^Y~Q
struts.enable.DynamicMethodInvocation I!1|);li
Allows one to disable dynamic method invocation from the URL _zt)c!
允许动态方法调用 OIJNOu I
PgIH(
struts.freemarker.manager.classname Iz^h|
n
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class o1lhVM`15
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )
rw!. )
xs,,)jF(u
struts.i18n.encoding V1di#i:
The encoding to use for localization messages f$1&)1W[
国际化信息内码 [wOz<<
CGw, RNV
struts.i18n.reload #djby}hi
Whether the localization messages should automatically be reloaded m&vuBb3
是否国际化信息自动加载 RwKnNIp
>vQ8~*xd
struts.locale .JCd:'-
The default locale for the Struts application L7\V^f%yCm
默认的国际化地区信息 Rtpk_ND!
9U&~H*Hf
struts.mapper.class 42$ pvw<
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8k +^jj
org.apache.struts2.dispatcher.mapper.ActionMapper接口 |ht:_l
8
7md,!|m
struts.multipart.maxSize gZq_BY_U
The maximize size of a multipart request (file upload) h'lqj0
multipart请求信息的最大尺寸(文件上传用) |2ImitN0
['m7Wry
struts.multipart.parser $,u>,
The org.apache.struts2.dispatcher.multipart. *!oV?N[eA'
MultiPartRequest parser implementation for a multipart request (file upload) VOJA}$
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) boS=
A |u-VXQ
H46N!{<;@
struts.multipart.saveDir 6 &Lr/J76
The directory to use for storing uploaded files Ef @
设置存储上传文件的目录夹
r)S:-wP
0:I[;Qt
struts.objectFactory sGFvSW
The com.opensymphony.xwork2.ObjectFactory implementation class %>'Zy6C<j
com.opensymphony.xwork2.ObjectFactory接口(spring) _=Z?5{7S>
`6y=ky.,
struts.objectFactory.spring.autoWire [[$dPa9
Whether Spring should autoWire or not =xw+cs1,x
是否自动绑定Spring ] M`%@ps
ylm #Xa
struts.objectFactory.spring.useClassCache 3 C{A
Whether Spring should use its class cache or not H2lQ(Y+H
是否spring应该使用自身的cache TB}6iIe
y0f:N
U
struts.objectTypeDeterminer ]A%]W ^G
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fn#qcZv?
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mUj_V#v
PctXh, =
struts.serve.static.browserCache "7q!u,u
If static content served by the Struts filter should set browser caching header properties or not P{,A% t
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 J6J">
?wP/l
struts.serve.static ]!q>@b
Whether the Struts filter should serve static content or not BItH0r7
是否struts过滤器应该提供静态内容 RDfvD|}VN
)x+P9|
struts.tag.altSyntax '8Cg2v5&w
Whether to use the alterative syntax for the tags or not =kTHfdin&
是否可以用替代的语法替代tags qxB|*P`
gLm,;'h%u
struts.ui.templateDir x8w l
The directory containing UI templates 2##;[
UI templates的目录夹 +=:_a$98
`>0%Ha
struts.ui.theme 577#A, O
The default UI template theme 3n,jrX75u
默认的UI template主题 cO$xT;kK
|k$6"dXSO
struts.url.http.port 5^D094J|^
The HTTP port used by Struts URLs
)SZzA'
设置http端口 QLH!> 9Ch
!RP0W
struts.url.https.port \o*w#e[M
The HTTPS port used by Struts URLs qjObu\r
设置https端口 ~R&rQJJeJ
:.9Y
struts.url.includeParams x<h|$$4S
The default includeParams method to generate Struts URLs '_b3m2I.G
在url中产生 默认的includeParams R_D&"&
C$p012D1
$DXO7;#
struts.velocity.configfile i?ZVVE=r
The Velocity configuration file path !2Gua1z!CJ
velocity配置文件路径 D]o=I1O?
6f2?)jOW^N
struts.velocity.contexts &gJ1*"$9
List of Velocity context names )DmydyQ'
velocity的context列表 CBO*2?]s
B}S+/V`
Y5
3 [j,d]\|
struts.velocity.manager.classname =+LIGHIt
org.apache.struts2.views.velocity.VelocityManager implementation class mPU}]1*p
org.apache.struts2.views.velocity.VelocityManager接口名 Zs(BViTb|
IsmZEVuC
struts.velocity.toolboxlocation hraR:l
D
The location of the Velocity toolbox eR4ib-nS
velocity工具盒的位置 :zX^H9'E<(
struts.xslt.nocache A!,c@Kv
3
Whether or not XSLT templates should not be cached zMRa<G7
是否XSLT模版应该被缓存 N5{v;~Cm}V