struts2的struts.properties配置文件详解 ("/*k
IX7d[nm39
struts.action.extension Ccz:NpK+
The URL extension to use to determine if the request is meant for a Struts action qjR;c&
q R
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V EY !0PIj
8g>jz
8
struts.configuration >o.u,
The org.apache.struts2.config.Configuration implementation class 7vr)JT=
org.apache.struts2.config.Configuration接口名 TeqFy( Dr
"]c:V4S#`A
struts.configuration.files S-2xe?sb
A list of configuration files automatically loaded by Struts ?Tuh22J{Q
struts自动加载的一个配置文件列表 )2S0OY.
""pJO 6bI
struts.configuration.xml.reload $L</{bXW
Whether to reload the XML configuration or not {(a@3m~a%
是否加载xml配置(true,false) 3kR- WgVF,
^ Jnp\o>
struts.continuations.package R2]?9\II
The package containing actions that use Rife continuations :NbD^h)R
含有actions的完整连续的package名称 W[^XG\
ac+7D:X
struts.custom.i18n.resources +Yi=Wo/
Location of additional localization properties files to load oeIB1DaI
加载附加的国际化属性文件(不包含.properties后缀) XQj`KUO@
9q* sR1
struts.custom.properties Br#]FB|tD
Location of additional configuration properties files to load ]
{NY;|&I'
加载附加的配置文件的位置 ,6t0w|@-k
[Hd^49<P2
*otJtEI>6
struts.devMode Yf {s0Z
Whether Struts is in development mode or not W@wT,yJ8@
是否为struts开发模式 Gw+z8^|C&}
EVq<gGy
struts.dispatcher.parametersWorkaround S}Mxm2
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !@VmaAT
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1&jX~'
44%::Oh
struts.enable.DynamicMethodInvocation >5^Z'!Z"
Allows one to disable dynamic method invocation from the URL [*}[W6
3v
允许动态方法调用 ;/oMH/,U8
{qLnwy!i
struts.freemarker.manager.classname 4D58cR}
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~-M7
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ch;EnN<
gEi"m5po
struts.i18n.encoding q,:\i+>K*
The encoding to use for localization messages 9,y&?GLP
国际化信息内码 42m`7uQ
8 6L&u:o:
struts.i18n.reload h)y"?Jj
Whether the localization messages should automatically be reloaded :hMuxHr
是否国际化信息自动加载 m@zxjIwT
^S<Z'S
struts.locale 8kMMQ ES
The default locale for the Struts application kJDMIh|g
默认的国际化地区信息 (5yg\3Jvp
v0$6@K;M4G
struts.mapper.class 9MHb<~F
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ny=CtU!z
org.apache.struts2.dispatcher.mapper.ActionMapper接口 (Mtc&+n{
=_ rn8
struts.multipart.maxSize V7lDuiAI
The maximize size of a multipart request (file upload) -q+Fj;El
multipart请求信息的最大尺寸(文件上传用) aaaC8;.
tkuN$Jl
struts.multipart.parser u8?ceM^r
The org.apache.struts2.dispatcher.multipart. R8],}6,;E}
MultiPartRequest parser implementation for a multipart request (file upload) zb;'}l;+
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l>qCT
t#P)KcWOt
HvTi^Fb\a
struts.multipart.saveDir <M$hj6.tn
The directory to use for storing uploaded files QT|m N
设置存储上传文件的目录夹 e9%6+9Y
%djx0sy
struts.objectFactory ! prU!5-
The com.opensymphony.xwork2.ObjectFactory implementation class dvL '>'g
com.opensymphony.xwork2.ObjectFactory接口(spring) <|2_1[,sl
Kjf#uU.7
struts.objectFactory.spring.autoWire "\>3mVOb
Whether Spring should autoWire or not nmSpNkJ5
是否自动绑定Spring +i)1 jX<
c89RuI `B~
struts.objectFactory.spring.useClassCache 5mFi)0={y
Whether Spring should use its class cache or not :_e.ch:4
是否spring应该使用自身的cache ax3:rl
Q]|+Y0y}X
struts.objectTypeDeterminer .qVdo+M%F
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class VWMCbg>R
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LZoth+:
Aga7X@fV(
struts.serve.static.browserCache hVGakp9WE
If static content served by the Struts filter should set browser caching header properties or not ho(Y?'^t3
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _O rE{
Y/$SriC_+'
struts.serve.static
_8S).*
Whether the Struts filter should serve static content or not J@Orrz2q#
是否struts过滤器应该提供静态内容 %
tJ?dlD'
X`aED\#\h
struts.tag.altSyntax .7kVC
Whether to use the alterative syntax for the tags or not ~Snw':
是否可以用替代的语法替代tags qy-BZ%3
2XXEg>CU
struts.ui.templateDir *uv\V@0
The directory containing UI templates CI @I
UI templates的目录夹 x`lBG%Y[-v
gq0gr?
struts.ui.theme
V!Joh5=a
The default UI template theme +'KM~c?]
默认的UI template主题 SjJUhTb
I+<`}
struts.url.http.port *}v'y{;
The HTTP port used by Struts URLs T4f:0r;^f*
设置http端口 mWGT
(`|~/
Awr]@%I
struts.url.https.port 5S7Z]DXiT8
The HTTPS port used by Struts URLs Hv`Zc*
设置https端口 M 0"feq
lO) B/N&
struts.url.includeParams m#S ZI}
The default includeParams method to generate Struts URLs :qT>m
在url中产生 默认的includeParams 3AB5Qs<
~}M{[6!
keWgbj
struts.velocity.configfile
"Km`B1f`
The Velocity configuration file path K3Xy%pqR#
velocity配置文件路径 *Z0}0<
D@Z
@+2Zt%
struts.velocity.contexts V2y[IeSQ
List of Velocity context names P `oR-D
velocity的context列表 D=OU61AA
6@$[x* V
' 5Ieqpm9
struts.velocity.manager.classname au7BqV!uL
org.apache.struts2.views.velocity.VelocityManager implementation class 3n/L;T,X
org.apache.struts2.views.velocity.VelocityManager接口名 Jg Xbs+.
Zg'[.wov
struts.velocity.toolboxlocation 2
43DdIG$
The location of the Velocity toolbox "*T)L<G
velocity工具盒的位置 [cH/Y2[
struts.xslt.nocache {otvJ|'N
Whether or not XSLT templates should not be cached ~Ep&:c4:D
是否XSLT模版应该被缓存 asJYGqdF