struts2的struts.properties配置文件详解 REPI>-|
e!w#{</8Q
struts.action.extension :/6u*HwZh
The URL extension to use to determine if the request is meant for a Struts action a``Q}.ST
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pwl7aC+6d
:q$.=?X3
struts.configuration %1rN6A!%
The org.apache.struts2.config.Configuration implementation class ,qIut|C*
org.apache.struts2.config.Configuration接口名 eIbz`|%3
8COGe=+o
struts.configuration.files >[<f\BN|
A list of configuration files automatically loaded by Struts o`nJJ:Cxq-
struts自动加载的一个配置文件列表 ]3
76F7
)!5"\eys
struts.configuration.xml.reload 9
xFX"_J
Whether to reload the XML configuration or not 54Vb[;`Kkb
是否加载xml配置(true,false) }ok'd=M
[jTZxH<
struts.continuations.package )Mh5q&ow
The package containing actions that use Rife continuations {"_V,HmEF+
含有actions的完整连续的package名称 ]:Pkh./
1n#{c5T
struts.custom.i18n.resources )H{OqZZYD
Location of additional localization properties files to load ;pG5zRe
加载附加的国际化属性文件(不包含.properties后缀) <<&SyP
cUwR6I9
struts.custom.properties {<Xl57w-Q
Location of additional configuration properties files to load NZ-57Ji
加载附加的配置文件的位置 } A}Vd:#
iThf\
|9mGX9q
struts.devMode @1V?94T1
Whether Struts is in development mode or not }BiA@n,
是否为struts开发模式 9Yji34eDZ
k"+/DK,:
struts.dispatcher.parametersWorkaround *enT2Q
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
CL5t6D9Qi
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5oR)
zS `>65}e
struts.enable.DynamicMethodInvocation 'E cd\p
Allows one to disable dynamic method invocation from the URL "Jg*
/F
允许动态方法调用 d V3R)
T5aeO^x
struts.freemarker.manager.classname )_K:A(V>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X`7O%HiX/`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Hm_&``='
=j8g6# 'u
struts.i18n.encoding uy([>8uu
The encoding to use for localization messages p%5(Qqmlk
国际化信息内码 p+Fh9N<F9
UbP$WIrq
struts.i18n.reload ;e Mb$px
Whether the localization messages should automatically be reloaded
WDh*8!)
是否国际化信息自动加载 DK<}q1xi
rR(\fX!dg
struts.locale C`\yc_b9Pf
The default locale for the Struts application -IL' (vx
默认的国际化地区信息 6t4{aa!L|9
}KV)F,`
struts.mapper.class `LJ.NY pP
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class cLIeo{H
org.apache.struts2.dispatcher.mapper.ActionMapper接口 _
Uv3glK
^NrC8,p
struts.multipart.maxSize F "-GhjK
The maximize size of a multipart request (file upload) ]gVW&3ZW
multipart请求信息的最大尺寸(文件上传用) _:G>bU/^
Yz>8 Nn '_
struts.multipart.parser ZU5; w
The org.apache.struts2.dispatcher.multipart. 8[IR;gZf
MultiPartRequest parser implementation for a multipart request (file upload) gO bP
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 20 )8e!jP
WU6F-{M"?
TWU1@5?Ct
struts.multipart.saveDir Kj+TPqXb
The directory to use for storing uploaded files oi%IHX(`
设置存储上传文件的目录夹 xgWVxX^)
LHq*E`
struts.objectFactory t=n@<1d
The com.opensymphony.xwork2.ObjectFactory implementation class '^BTa6W}m
com.opensymphony.xwork2.ObjectFactory接口(spring) _j]vR
_+qtH< F/
struts.objectFactory.spring.autoWire V/J-zH&
Whether Spring should autoWire or not A~8-{F 31
是否自动绑定Spring R'aA\k-
8-)@q|
struts.objectFactory.spring.useClassCache }QJ6"s
Whether Spring should use its class cache or not sDXQ{*6a
是否spring应该使用自身的cache `W %R
B{NGrC`5)
struts.objectTypeDeterminer 78E<_UgcB
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }nWW`:t kx
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?8$h%Ov-
@eRv`O"
struts.serve.static.browserCache |@dY[VK>
If static content served by the Struts filter should set browser caching header properties or not (E \lLlN
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S~{}jvc
}M${ _D
struts.serve.static NJ(H$tB@
Whether the Struts filter should serve static content or not YF13&E2`\
是否struts过滤器应该提供静态内容 CjU?3Ag
oTf^-29d
struts.tag.altSyntax 6"V86b0)h}
Whether to use the alterative syntax for the tags or not z_87;y;=
是否可以用替代的语法替代tags 'e7;^s
8LlWXeD9
struts.ui.templateDir {Lvta4}7(
The directory containing UI templates D__*?frWpW
UI templates的目录夹 {y|j**NZ
n)rSgzI
struts.ui.theme G\
/L.T
The default UI template theme b+THn'2
默认的UI template主题 8-q4'@(
k;vhQ=
struts.url.http.port 7G23D
The HTTP port used by Struts URLs A@n//AZM
设置http端口 9w$+Qc
M;E$ ]Z9
struts.url.https.port 8z*/J=n
The HTTPS port used by Struts URLs g y1i%
设置https端口 \_|r>vQ
&(A'uX.>pr
struts.url.includeParams EV N:3
The default includeParams method to generate Struts URLs T$4Utd5[z'
在url中产生 默认的includeParams B k~%
jNP%BNd1f
tnC,1HV0[
struts.velocity.configfile {_X&{dZLX
The Velocity configuration file path eed!SmP
velocity配置文件路径 $~:|Vj5iZ\
r'& 6P-Vm
struts.velocity.contexts Dqm;twd>
List of Velocity context names 7
JVonruaR
velocity的context列表 =%9j8wHX
0/zgjT|fe
m"mU:-jk`
struts.velocity.manager.classname O-]^_LV`
org.apache.struts2.views.velocity.VelocityManager implementation class -\}Ix>
org.apache.struts2.views.velocity.VelocityManager接口名 i,y7R?-K
KgEfhO$W
struts.velocity.toolboxlocation 4 UnN~
The location of the Velocity toolbox H?j!f$sw
velocity工具盒的位置 XnV$}T:?X
struts.xslt.nocache zNJ-JIo%
Whether or not XSLT templates should not be cached -LEpT$v|
是否XSLT模版应该被缓存 N1u2=puJY