struts2的struts.properties配置文件详解 FE,BvNBZ
7B{LRm6;Vu
struts.action.extension f O ,5
u;
The URL extension to use to determine if the request is meant for a Struts action 2rPmu
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H<Ik.]m
dpSNh1
struts.configuration =bJ7!&
The org.apache.struts2.config.Configuration implementation class zy(NJ
org.apache.struts2.config.Configuration接口名 x7ZaI{
yXT8:2M
struts.configuration.files Ra/Pk G-7
A list of configuration files automatically loaded by Struts VDTt}J 8
struts自动加载的一个配置文件列表 7m:ZG
(NC]S
struts.configuration.xml.reload E.eUd4XG
Whether to reload the XML configuration or not _9:r4|S
是否加载xml配置(true,false) 2mEvoWnJ
mLm?yb:
struts.continuations.package 7!U^?0?/
The package containing actions that use Rife continuations `i<omZ[aT
含有actions的完整连续的package名称 @|([b r|O
:T )R;E@
struts.custom.i18n.resources WT63ve
Location of additional localization properties files to load a(uZ}yS$
加载附加的国际化属性文件(不包含.properties后缀) 5yk#(i7C
zd|n!3;
struts.custom.properties 5y8VA4L/o
Location of additional configuration properties files to load c*.-mS~Z`
加载附加的配置文件的位置 @L$!hTaP
dVe,;?+A
G&
m~W
struts.devMode je85G`{DC
Whether Struts is in development mode or not
s>*xAIx
是否为struts开发模式 5Ky(C6E$s
* o{7 a$V
struts.dispatcher.parametersWorkaround /]oQqZHv
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e2^TQv2(=e
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) % 'OY
_Wqy,L;J
struts.enable.DynamicMethodInvocation ;2 P
Allows one to disable dynamic method invocation from the URL }`.d4mm
允许动态方法调用 &EmG\vfE
{B-*w%}HU
struts.freemarker.manager.classname #MFIsx)r
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =M=v;
,I-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 8W Etm}
10_#Z~aU
struts.i18n.encoding 1xI
The encoding to use for localization messages YS:p(jtd
国际化信息内码 =;Dj[<mJ45
ly:2XvV3~
struts.i18n.reload
T~L&c
Whether the localization messages should automatically be reloaded e|N~tUVrrN
是否国际化信息自动加载 >L')0<!&
+pRNrg?k
struts.locale A `{hKS
The default locale for the Struts application }O Y/0p-Z
默认的国际化地区信息 X,{ 3_
ALj~e#{;z
struts.mapper.class BP}@E$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class h4#'@%
org.apache.struts2.dispatcher.mapper.ActionMapper接口 1mD)G55Ep
dci<Rz`h
struts.multipart.maxSize 5th?m>
The maximize size of a multipart request (file upload) [ ou$*
multipart请求信息的最大尺寸(文件上传用) y @S_CB47
iX[g
struts.multipart.parser MU%7'J :_
The org.apache.struts2.dispatcher.multipart. v7n@CWnN
MultiPartRequest parser implementation for a multipart request (file upload) F1A40h7R$Y
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) IC?(F]$%>
$<yhEvv
.5uqc.i"f
struts.multipart.saveDir =*1NVi $n
The directory to use for storing uploaded files e3ce?gk
设置存储上传文件的目录夹 Lw2VdFi>E&
rr,w/[
struts.objectFactory \<ysJgqUG
The com.opensymphony.xwork2.ObjectFactory implementation class ^e=G} N^
com.opensymphony.xwork2.ObjectFactory接口(spring) gB~^dv {
?~b(iZ
struts.objectFactory.spring.autoWire p6Z|)1O]
Whether Spring should autoWire or not -We9
FO~
是否自动绑定Spring HItNd
A,BYi$
struts.objectFactory.spring.useClassCache z0OxJ e
Whether Spring should use its class cache or not c_8<N7 C
是否spring应该使用自身的cache A;
wT`c
UWidT+'Sa
struts.objectTypeDeterminer sQe
GT)/|
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ptf(p`
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a>x6n3{
/ywP
0
struts.serve.static.browserCache e[16
7uU
If static content served by the Struts filter should set browser caching header properties or not q
k6
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8CZ%-}-%$
k/D{&(F ~
struts.serve.static 5'c#pm\Q
Whether the Struts filter should serve static content or not 4Y$\QZO
是否struts过滤器应该提供静态内容 5C&*PJ~WA
4hODpIF
struts.tag.altSyntax (|F.3~Amq
Whether to use the alterative syntax for the tags or not $rI 1|;^
是否可以用替代的语法替代tags Fn7OmxfD
Qn,6s%n
struts.ui.templateDir _&/ {A|n
The directory containing UI templates a6-.|tt#t
UI templates的目录夹 r0 )ne|&Hp
1Dl6T\20
struts.ui.theme > (9\ cF{
The default UI template theme g4eW<
默认的UI template主题 3 ye
x-e6[_F
struts.url.http.port Lm=;Y6'`N
The HTTP port used by Struts URLs X fqhD&g
设置http端口 fP V n;
U3N9O.VC
struts.url.https.port n{i,`oQ"
The HTTPS port used by Struts URLs *67K_<bp]
设置https端口 fjVy;qJ32S
#K6cBfqI
struts.url.includeParams 50j8+xJPV
The default includeParams method to generate Struts URLs yji[Yde;|
在url中产生 默认的includeParams BqY_N8l&E
V*{rHp{=p
.z.4E:Iq
struts.velocity.configfile Be=rBrI>
The Velocity configuration file path CF2Bd:mfZ
velocity配置文件路径 :Ys~Lt54
S.)Jp-&K
struts.velocity.contexts }&t>j[
List of Velocity context names !7
dct#4
velocity的context列表 18!y7
_cFT
Z sTtSM\Ac
+)iMJ]>
struts.velocity.manager.classname (rd
[tc
org.apache.struts2.views.velocity.VelocityManager implementation class m$kQbPlatN
org.apache.struts2.views.velocity.VelocityManager接口名 lOk8VlH<h
9MYk5q.X:
struts.velocity.toolboxlocation pX
^^0
The location of the Velocity toolbox QCF'/G
velocity工具盒的位置 ^w.hI5ua)
struts.xslt.nocache ~?AEtl#&"
Whether or not XSLT templates should not be cached C=/B\G/.9
是否XSLT模版应该被缓存 {^
b2nOMv