struts2的struts.properties配置文件详解 pkf$%{"e
BJgHel+N
struts.action.extension 0|DyYu
The URL extension to use to determine if the request is meant for a Struts action Y?6}r;<
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P=aYwm C
xpJ=yxO
struts.configuration 9tWpxrig%
The org.apache.struts2.config.Configuration implementation class S6<#] 6Z
org.apache.struts2.config.Configuration接口名 t$&'mJ_-w
t*J?#r
struts.configuration.files \UP=pT@
A list of configuration files automatically loaded by Struts ..R JHa6B
struts自动加载的一个配置文件列表 vScEQS$>
1QPz|3f@\
struts.configuration.xml.reload l{gR6U{e
Whether to reload the XML configuration or not ^3ai}Ei3
是否加载xml配置(true,false) u+O"c
]K'OH&
struts.continuations.package fRb
The package containing actions that use Rife continuations AyNpY_B0c
含有actions的完整连续的package名称 q"5\bh1"
EiDnUL(W7h
struts.custom.i18n.resources <KJ|U0/jGd
Location of additional localization properties files to load 0#NbAMt
加载附加的国际化属性文件(不包含.properties后缀) /BN=Kl]
^Kl*}
struts.custom.properties =w3 cF)&
Location of additional configuration properties files to load dlA0&;}z
加载附加的配置文件的位置 >@h#'[z,d
e=s({V
*&tTiv{^
struts.devMode )%b 5uZ
Whether Struts is in development mode or not O)ose?Z
是否为struts开发模式 Y_6v@SiO
KG4zjQf
struts.dispatcher.parametersWorkaround P'o]#Az
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (Y*9[hm
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c_>AbF{
A<^X P-Nrp
struts.enable.DynamicMethodInvocation (5A8# 7a
Allows one to disable dynamic method invocation from the URL x:Q$1&3N
允许动态方法调用 Ct^=j@g
|&@`~OBa
struts.freemarker.manager.classname r7#.DJnN.
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class F vTswM>
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Q{5.;{/eC
1JJ1!& >
struts.i18n.encoding .2U3_1dX
The encoding to use for localization messages *7=`]w5k1
国际化信息内码 E3(o}O
/MMnW$)
struts.i18n.reload JIjo^zOXsc
Whether the localization messages should automatically be reloaded A^$xE6t
是否国际化信息自动加载 ,)N/2M\B-
j/q&qrlL
struts.locale Z4:^#98c.
The default locale for the Struts application +]( #!}oH
默认的国际化地区信息 x3(
->?)D
K'/if5>Bc
struts.mapper.class ji\&?%(B
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class HO_(it \
org.apache.struts2.dispatcher.mapper.ActionMapper接口 }I MV@z B
sxS%1hp3
struts.multipart.maxSize k
]T
The maximize size of a multipart request (file upload) jse!EtB:
multipart请求信息的最大尺寸(文件上传用) yye5GVY$
{;th~[
struts.multipart.parser _>aP5g?Ep
The org.apache.struts2.dispatcher.multipart. ;;m;f^]}
MultiPartRequest parser implementation for a multipart request (file upload) v,8Q9<=O
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I}f7|hYX
y<wd~!>Ubu
@Kn@j D;
struts.multipart.saveDir fP6.
The directory to use for storing uploaded files 4.uaWM)2
设置存储上传文件的目录夹 :>o0zG[;f
y"ss<`Cn
struts.objectFactory xtIF)M
The com.opensymphony.xwork2.ObjectFactory implementation class Ud2Tn*QmI
com.opensymphony.xwork2.ObjectFactory接口(spring) hg:$H9\%
i~AReJxt7
struts.objectFactory.spring.autoWire $TS97'$
Whether Spring should autoWire or not )v11j.D
是否自动绑定Spring \t/0Yh-'
m2YsE
j7
struts.objectFactory.spring.useClassCache 4e;$+!dlV
Whether Spring should use its class cache or not w
El-
是否spring应该使用自身的cache 7&OJ8B/
61_-G#W
struts.objectTypeDeterminer qX; F+~
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C^5 V
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5W&L cBB
>M!LC
struts.serve.static.browserCache S("dU`T?
If static content served by the Struts filter should set browser caching header properties or not '*&dP"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,nCvA%B!
](8F]J ,
struts.serve.static %W2U$I5
Whether the Struts filter should serve static content or not /#&jF:h
是否struts过滤器应该提供静态内容 &l!T2PX!
XJKns
struts.tag.altSyntax L;y BZLM
Whether to use the alterative syntax for the tags or not ;UUgqX#
是否可以用替代的语法替代tags #$W0%7
>3ZhPvE-p'
struts.ui.templateDir @V:Y%#%
The directory containing UI templates @iXBy:@
UI templates的目录夹 ;ND[+i2MN
7:Rt) EE2
struts.ui.theme t+q;}ZvG
The default UI template theme YTmHht{j#
默认的UI template主题 Y'bz>@1(
guGX
G+
struts.url.http.port rFkZ'rp74b
The HTTP port used by Struts URLs rIYO(}Fl
设置http端口 aaw[ia_E L
/'E[03I~
struts.url.https.port |HYST`
The HTTPS port used by Struts URLs NWPT89@ l
设置https端口 Oq,@{V@)9k
2kDv
(".
struts.url.includeParams *| W*Mu
The default includeParams method to generate Struts URLs C& XPn;f
在url中产生 默认的includeParams njZ vi}m~
Z!^>!'Z
W2fcY;HZ
struts.velocity.configfile $F9w0kz:,*
The Velocity configuration file path E8"&gblg
velocity配置文件路径 izGU&VeB
8 l)K3;q_
struts.velocity.contexts WLwi
List of Velocity context names DTM(SN8R+n
velocity的context列表 :t9![y[=|
&!O?h/&X3
vV$^`WY4
struts.velocity.manager.classname Jr;w>8B),
org.apache.struts2.views.velocity.VelocityManager implementation class xgj'um
org.apache.struts2.views.velocity.VelocityManager接口名 -64;P9:A>
8-7Ml3G*
struts.velocity.toolboxlocation DEhR\Z!
The location of the Velocity toolbox [OUV!o
velocity工具盒的位置 ';8 ,RTe
struts.xslt.nocache OPE+:TvW^
Whether or not XSLT templates should not be cached );TB(PQsBT
是否XSLT模版应该被缓存 kdlmj[=