struts2的struts.properties配置文件详解 /xd|mo)D
hJ?PV@xy
struts.action.extension XE#$|Z
The URL extension to use to determine if the request is meant for a Struts action +ijxv
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \
*A!@T
WUb] 8$n
struts.configuration NKiWt
Z"
The org.apache.struts2.config.Configuration implementation class _jaB[Q=By
org.apache.struts2.config.Configuration接口名 8J~-|<Q6
g|j15&x
struts.configuration.files /&l4 sF1
A list of configuration files automatically loaded by Struts 34L1Gxf
struts自动加载的一个配置文件列表 .]N`]3$=
"O_)~u
struts.configuration.xml.reload ak{XLzn
Whether to reload the XML configuration or not 3~Ll<8fv
是否加载xml配置(true,false) \T?6TDZ]
l!:L<B
struts.continuations.package H>%L@Btw
The package containing actions that use Rife continuations .&n!4F'
含有actions的完整连续的package名称 hJ75(I
*j
5+t$4N+P
struts.custom.i18n.resources %0'7J@W
Location of additional localization properties files to load {D8yqO A}
加载附加的国际化属性文件(不包含.properties后缀) Ged} qXn
"oh;?gQ.
struts.custom.properties
)!FheoR
Location of additional configuration properties files to load y s[ z[
加载附加的配置文件的位置 znAo]F9=J"
9}+X#ma.Nc
27MwZz
struts.devMode :mt<]Oy3
Whether Struts is in development mode or not Lzx2An@R
是否为struts开发模式 }(K1=cEaL
UYzNaw4/x
struts.dispatcher.parametersWorkaround |Z8Eu0RSb
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (IIZ vCek
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &g]s@S|%
=&m;5R
struts.enable.DynamicMethodInvocation [EK@f,iM
Allows one to disable dynamic method invocation from the URL 83VFBY2q
允许动态方法调用 @Thrizh
Q'YakEv >=
struts.freemarker.manager.classname r(rT.D&
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H;#C NB<e
org.apache.struts2.views.freemarker.FreemarkerManager接口名 +K,T^<F;
7tne/Yz
struts.i18n.encoding w"L]?#
The encoding to use for localization messages #X0Xc2}{f
国际化信息内码 _/YM@%d
u1>WG?/`
struts.i18n.reload b&'YW*W
Whether the localization messages should automatically be reloaded #q5tG\gnM
是否国际化信息自动加载 ndw&F'.r
>u]9(o7I
struts.locale o
^ 08<
The default locale for the Struts application 2s}G6'xE]P
默认的国际化地区信息 ;O~%y'
QY*F(S,\
struts.mapper.class b"Jr_24t3v
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class QQD7NN>
org.apache.struts2.dispatcher.mapper.ActionMapper接口 x:c'ek
i?,\>LTG
struts.multipart.maxSize .R^ R|<x
The maximize size of a multipart request (file upload) cH707?p/I
multipart请求信息的最大尺寸(文件上传用) yE;S6 O
:k2J
&@8
struts.multipart.parser ^FZ9q
The org.apache.struts2.dispatcher.multipart. +^%)QH>9
MultiPartRequest parser implementation for a multipart request (file upload) KL"_h`UW
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *n EG<Y)
Y Azj>c&
'Z)#Sz Y
struts.multipart.saveDir ux)Wh.5
The directory to use for storing uploaded files +W8kMuM!
设置存储上传文件的目录夹 Hm+VGH'H?
a6?t?:~|
struts.objectFactory { T<[-"h
The com.opensymphony.xwork2.ObjectFactory implementation class {U4{v=,!I
com.opensymphony.xwork2.ObjectFactory接口(spring) |hX\ep
R7c42L\QA
struts.objectFactory.spring.autoWire 4}Lui9
Whether Spring should autoWire or not e}(8BF
是否自动绑定Spring xmtD0U1
"G Jhx/zt
struts.objectFactory.spring.useClassCache ! 6R|
Whether Spring should use its class cache or not ->Fsmb+R
是否spring应该使用自身的cache l~[
K.p&
9t8ccr
struts.objectTypeDeterminer A,c_ME+DVB
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class l9n$cv^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 09i77
<[=[|DS l
struts.serve.static.browserCache 8C*xrg#g:
If static content served by the Struts filter should set browser caching header properties or not *%%n9T
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 iH>b"H>
s~k62
struts.serve.static JURg=r]LI
Whether the Struts filter should serve static content or not }N:QB}7'_
是否struts过滤器应该提供静态内容 y,`q6(&
#c9MVQ_
struts.tag.altSyntax ,^jQBD4={
Whether to use the alterative syntax for the tags or not 65tsJ"a<
是否可以用替代的语法替代tags E!`/XB/nA
#A:^XAU1Z@
struts.ui.templateDir F4:5 >*:
The directory containing UI templates [8vqw(2Tm(
UI templates的目录夹 `%~f5<
dP"cm0
struts.ui.theme /=QsZ,~xo
The default UI template theme ?"kU+tCxg
默认的UI template主题 =@nW;PUZ
L!fIAd`
struts.url.http.port X5= Ki
$+
The HTTP port used by Struts URLs [C!m,4
设置http端口 e~nh95
0*j\i@
struts.url.https.port 3f:]*U+O
The HTTPS port used by Struts URLs :Ye~I;"8
设置https端口 &E@mCQ1
{;o54zuKf
struts.url.includeParams }a%Wu 7D
The default includeParams method to generate Struts URLs kmt+E'^]
在url中产生 默认的includeParams 4$4Tx9C
y,c\'}*H
U^-RyE!}
struts.velocity.configfile r
l;Y7l
The Velocity configuration file path COD^osM@
velocity配置文件路径 2\gbciJ[{(
z_). -
struts.velocity.contexts 5Gz~,_
List of Velocity context names a;(,$q3M
velocity的context列表 0:x+;R<P*w
$U2Jq@G*
@f-rS{
struts.velocity.manager.classname G#='*vOtO
org.apache.struts2.views.velocity.VelocityManager implementation class z;>O5a>z
org.apache.struts2.views.velocity.VelocityManager接口名 J+`gr_&
TC
;Aj|)N
struts.velocity.toolboxlocation $H6n gL
The location of the Velocity toolbox uL^X$8K;(
velocity工具盒的位置 \\ZhM
struts.xslt.nocache UM'JK#P"
Whether or not XSLT templates should not be cached .:(gg
是否XSLT模版应该被缓存 MW0CqMi]T