struts2的struts.properties配置文件详解 ;\RVC7
i6if\B
struts.action.extension ,R{&x7
The URL extension to use to determine if the request is meant for a Struts action Sb`[+i'`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B"GC|}N)v
;"MChk
struts.configuration +dCDk* /m
The org.apache.struts2.config.Configuration implementation class 0/Q_%
:
org.apache.struts2.config.Configuration接口名 \jC) ;mk
%OBW/Ti
struts.configuration.files 0<m7:D
Gd
A list of configuration files automatically loaded by Struts uFWA] ":is
struts自动加载的一个配置文件列表 d1D
f`
DN2 ]Y'
struts.configuration.xml.reload s>>&3jfM
Whether to reload the XML configuration or not (e7!p=D
是否加载xml配置(true,false) d {!P
c<
v?`R8
struts.continuations.package Q#p)?:o/
The package containing actions that use Rife continuations *wTX
含有actions的完整连续的package名称 W3.[d->X
!K-1tp$
struts.custom.i18n.resources $nE{%?n-#
Location of additional localization properties files to load <j'K7We/tP
加载附加的国际化属性文件(不包含.properties后缀) rbd0`J9fq
Dd?G4xUG
struts.custom.properties agUdI_'~@9
Location of additional configuration properties files to load ^)dsi
加载附加的配置文件的位置 CPJ<A,V
doanTF4Da
|=}+%>y_
struts.devMode %L.S~dN6
Whether Struts is in development mode or not Ux_tzd0!
是否为struts开发模式 |Rfj
0+
G+c&e:ip<
struts.dispatcher.parametersWorkaround tYD8Y
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "^4*,41U
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5sY$
]KFh 1
struts.enable.DynamicMethodInvocation [5P-K{Ko
Allows one to disable dynamic method invocation from the URL hY4# 4A`I
允许动态方法调用 wC{sP"D
TZgtu+&
struts.freemarker.manager.classname E^-c,4'F
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "uBnK!
org.apache.struts2.views.freemarker.FreemarkerManager接口名 \tgY2:
e4YfJd
struts.i18n.encoding @D9O<x
The encoding to use for localization messages zB%~=@Q^6
国际化信息内码 0!\gK<,z
\lK?f] qJq
struts.i18n.reload L2VwW
Whether the localization messages should automatically be reloaded fJLl-H
是否国际化信息自动加载 g}+|0FTV
Mk*4J]PP
struts.locale )la3GT*1mS
The default locale for the Struts application +-!3ruwSn
默认的国际化地区信息 d*6f,z2=
:BxO6@>Xc
struts.mapper.class H1-DK+Q:
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class BwHJr(n
org.apache.struts2.dispatcher.mapper.ActionMapper接口 .B`$hxl*0c
S|=)^$:
struts.multipart.maxSize ,l&?%H9q
The maximize size of a multipart request (file upload) P@O_MT
multipart请求信息的最大尺寸(文件上传用) =i)%AnZ^9
\92M\S
struts.multipart.parser q{9vY:`[
The org.apache.struts2.dispatcher.multipart. NO*,}aeG
MultiPartRequest parser implementation for a multipart request (file upload)
:a*>PMTn
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vC,FE
)'
9tpyrGv
ika*w
struts.multipart.saveDir E]#;K-j
The directory to use for storing uploaded files <J^5l0)q
设置存储上传文件的目录夹 \6
\bD<
L\4rvZa
struts.objectFactory hrniZ^
The com.opensymphony.xwork2.ObjectFactory implementation class [+WsVwyf?
com.opensymphony.xwork2.ObjectFactory接口(spring) mu
B Y
XoyxS:=>|[
struts.objectFactory.spring.autoWire :cA P{rSe
Whether Spring should autoWire or not a#1r'z~]}
是否自动绑定Spring KGJSGvo+y
KF7w{A){
struts.objectFactory.spring.useClassCache D*.3]3-I
Whether Spring should use its class cache or not va@;V+cD
是否spring应该使用自身的cache ~|KqG
R6<'J?k
struts.objectTypeDeterminer -)-:rRx-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T.#_v#oM
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 rRevyTs
'wPX.h?
struts.serve.static.browserCache ^$oa`B^2JM
If static content served by the Struts filter should set browser caching header properties or not Apu-9|oP
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]:f.="
^?e[$}
struts.serve.static >.SO2w
Whether the Struts filter should serve static content or not T]0K4dp+
是否struts过滤器应该提供静态内容 /[6wm1?!
M.H!dZ
struts.tag.altSyntax S:!5|o|
Whether to use the alterative syntax for the tags or not KLe6V+ki*
是否可以用替代的语法替代tags ~T}D#}
E zcch1
struts.ui.templateDir Hl$qmq
The directory containing UI templates Q^{TcL8
UI templates的目录夹 g(P7CX+y
/,I?"&FWc
struts.ui.theme 2@(+l*.Q
The default UI template theme *c#DB{N
默认的UI template主题 |e8A)xM]wC
(U5XB
[r_P
struts.url.http.port vT5GUO{5
The HTTP port used by Struts URLs b$2=w^*
设置http端口 3~`\FuHHe
3+>R%TX6i<
struts.url.https.port dtuCA"D
The HTTPS port used by Struts URLs `_yksh3zL4
设置https端口 og$dv
23
igOX 0
struts.url.includeParams _U*R_2aV
The default includeParams method to generate Struts URLs O4-#)#-)S~
在url中产生 默认的includeParams xpa+R^D5G
dZ|bw0~_!
N_D=j6B
struts.velocity.configfile UVXruH
The Velocity configuration file path Fz8& Jn!
velocity配置文件路径 {X,-T&
Rq15AR
struts.velocity.contexts z .lb(xQ
List of Velocity context names >$}Mr%49
velocity的context列表 #p"F$@N
'5$: #|-
Il/`#b@h
struts.velocity.manager.classname fCa
lR7!
org.apache.struts2.views.velocity.VelocityManager implementation class `mkOjsj &
org.apache.struts2.views.velocity.VelocityManager接口名 :V8oWMY
pz2E+o
struts.velocity.toolboxlocation }Bh\N5G%
The location of the Velocity toolbox '1!%yKc0
velocity工具盒的位置 S%p,.0_
struts.xslt.nocache ^p4`o>
Whether or not XSLT templates should not be cached \R&ZWJKh
是否XSLT模版应该被缓存 >CCy2W^W