struts2的struts.properties配置文件详解 (m2%7f.I
lx2#C9L_
struts.action.extension E}4{{{r
The URL extension to use to determine if the request is meant for a Struts action l\
dPfJ
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,5zY1C==Ut
H'3
pHb
struts.configuration 9c]$d
The org.apache.struts2.config.Configuration implementation class CfW#Wk:8J
org.apache.struts2.config.Configuration接口名 !X7z y9
G)~>d/
struts.configuration.files !y_L~81?
A list of configuration files automatically loaded by Struts D-@6 hWh~
struts自动加载的一个配置文件列表 EC$F|T0f
^
q ba<#e
struts.configuration.xml.reload BywEoS
Whether to reload the XML configuration or not 7a9">:~
是否加载xml配置(true,false) Fw[1Aa#
*1v3x:pQ'
struts.continuations.package EB&hgz&_
The package containing actions that use Rife continuations m>Wt'Cc
含有actions的完整连续的package名称 4}D&=0IZ
e6'0g=Y#
struts.custom.i18n.resources xKL(:ePS
Location of additional localization properties files to load LiHJm-
加载附加的国际化属性文件(不包含.properties后缀) XC6 |<pru
gAvNm[=wD2
struts.custom.properties JGq9RB]D$
Location of additional configuration properties files to load
LT{g^g
加载附加的配置文件的位置 "d/54PKWx
@}UOm-M
O(evlci
struts.devMode -U>)B
Whether Struts is in development mode or not ]gHrqi%
是否为struts开发模式 dj084q7
H)TKk%`7
struts.dispatcher.parametersWorkaround "=]'"'B:
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic JqLPJUr
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vB7]L9=@"
S9:ij1
struts.enable.DynamicMethodInvocation y46sL~HRv
Allows one to disable dynamic method invocation from the URL "?aE3$/
允许动态方法调用 W{JR%Sq$
|LIcq0Z
struts.freemarker.manager.classname um PN=0u6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nUq@`G
org.apache.struts2.views.freemarker.FreemarkerManager接口名 2|!jst
-;Mh|!yg
struts.i18n.encoding W"/,<xHuh
The encoding to use for localization messages #lFsgb
国际化信息内码
1^hG}#6_
D'g@B.fXd
struts.i18n.reload ?jO<<@*2S
Whether the localization messages should automatically be reloaded c;b<z|}z
是否国际化信息自动加载 -{L 7%j|R
r8y,$Mv<)0
struts.locale l-IA Q!d
The default locale for the Struts application Tw/7P~*
默认的国际化地区信息 } 5"Rj<
3NwdE/x\
struts.mapper.class q=cnY+p>
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t:.X=/02
org.apache.struts2.dispatcher.mapper.ActionMapper接口 U>n.+/ss
U>b.MIBX
struts.multipart.maxSize <!W9EM
The maximize size of a multipart request (file upload)
fCb&$oRr!
multipart请求信息的最大尺寸(文件上传用) \SmYxdU'>
T;kh+i
struts.multipart.parser NSRY(#3
The org.apache.struts2.dispatcher.multipart.
+;@R&Y
MultiPartRequest parser implementation for a multipart request (file upload) Xa}y.qH
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h _c11#
}+NlYD:qF
29@m:=-}7
struts.multipart.saveDir &z\?A2Mw%
The directory to use for storing uploaded files $\oe}`#o
设置存储上传文件的目录夹 B_c-@kl
AA|G&&1y
struts.objectFactory z2.OR,R}]
The com.opensymphony.xwork2.ObjectFactory implementation class [mUC7Kpi
com.opensymphony.xwork2.ObjectFactory接口(spring) k fOd|-
vKbGG
struts.objectFactory.spring.autoWire +^,&z}(
Ak
Whether Spring should autoWire or not }i;!p
Ue$
是否自动绑定Spring i[vN3`*B
'Um\m
struts.objectFactory.spring.useClassCache <ihJp^kgQ
Whether Spring should use its class cache or not BW`Tw^j
是否spring应该使用自身的cache p)7U%NMc(*
A8nf"mRD:
struts.objectTypeDeterminer k~Y_%#_
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /ubGa6N
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0ZAtBq.s
\o?
struts.serve.static.browserCache )Zyw^KN^
If static content served by the Struts filter should set browser caching header properties or not &~)1mnv.
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 pR:cn kVF
S`spUq1o
struts.serve.static 8
=3#S'n
Whether the Struts filter should serve static content or not
o2y
#Yk
是否struts过滤器应该提供静态内容 SsL>K*t5
vf<Tq
struts.tag.altSyntax AIQ]lQ(
Whether to use the alterative syntax for the tags or not I}
]s(
是否可以用替代的语法替代tags qy!pD
R;
)Vy}oFT\
struts.ui.templateDir t2-bw6U
The directory containing UI templates Ga"<qmLMc
UI templates的目录夹 Zg;Ht
oH
[-fF
struts.ui.theme g;nPF*(
The default UI template theme lgCOp%>
默认的UI template主题 OB+I.qlHP
X 2('@Yh
struts.url.http.port rI]n4>k{
The HTTP port used by Struts URLs mhnK{M @56
设置http端口 "OKsl2e
P4"EvdV7
struts.url.https.port }'TZ)=t{J
The HTTPS port used by Struts URLs TSd;L
u%hr
设置https端口 !B*d,_9c
s9YP
=)I
struts.url.includeParams !8%{(;(
The default includeParams method to generate Struts URLs IPh_QE2g
在url中产生 默认的includeParams (XA]k%45
#w]:<R^
L5>.ku=T
struts.velocity.configfile ?37Kc,o
The Velocity configuration file path kasx4m]^
velocity配置文件路径 N5GQ2V
-}<W|r
struts.velocity.contexts Xn8r3Nb$A
List of Velocity context names y$pT5X G
velocity的context列表 Ll6|Wh X
gcs8Gl2
D\GP+Ota
struts.velocity.manager.classname !bD`2m[Q
org.apache.struts2.views.velocity.VelocityManager implementation class %xI,A '#
org.apache.struts2.views.velocity.VelocityManager接口名 Si%K|$?@
3Q(#2tL=
struts.velocity.toolboxlocation LMte,zs>
The location of the Velocity toolbox -RnQ8Iuo
velocity工具盒的位置 8h7z
struts.xslt.nocache itIzs99j
Whether or not XSLT templates should not be cached 5eSmyj-W
是否XSLT模版应该被缓存 9G}Crp