struts2的struts.properties配置文件详解 `G&W%CHB
fu'iG7U M
struts.action.extension ce th )Xm
The URL extension to use to determine if the request is meant for a Struts action ~Z!!wDHS
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "-GjwB
9YRoWb{y
struts.configuration r,X5@/
The org.apache.struts2.config.Configuration implementation class {%5k1,/(
org.apache.struts2.config.Configuration接口名 jm0J)Z_"nr
*#-X0}'s
struts.configuration.files RX8$&z
A list of configuration files automatically loaded by Struts 4V9DPBh
struts自动加载的一个配置文件列表 WL$Ee=
j9Ptd$Uj
struts.configuration.xml.reload ?9xaBWf
Whether to reload the XML configuration or not sE@t$'=
是否加载xml配置(true,false) /=I&-gxC
90L,.
struts.continuations.package L9nv05B
The package containing actions that use Rife continuations 0KO_bF#EB=
含有actions的完整连续的package名称 *c4uCI:0t
gQ4Q
h;
struts.custom.i18n.resources HMGby2^+
Location of additional localization properties files to load ?nJ7lLQA
加载附加的国际化属性文件(不包含.properties后缀) BV,P;T0"D
c;c'E&9P]
struts.custom.properties 6wC|/J^
Location of additional configuration properties files to load u}Vc2a,WV
加载附加的配置文件的位置 s8Kf$E^?e.
gXN#<g,:^
x4|>HY<p?
struts.devMode : Y/i%#*1
Whether Struts is in development mode or not :=vB|Ch:~
是否为struts开发模式 HSGM&!5mW
c=]qUhnH
struts.dispatcher.parametersWorkaround x'kwk
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \U;4\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S'M=P_-7
!c-Ie~GIT
struts.enable.DynamicMethodInvocation Ci6yH( RE
Allows one to disable dynamic method invocation from the URL HPl!r0 h
允许动态方法调用 WqP>cl2Lm
9XWHr/-_@
struts.freemarker.manager.classname )w];eF0c
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ''Fy]CwH(
org.apache.struts2.views.freemarker.FreemarkerManager接口名 meunAEe
v(D{_
struts.i18n.encoding OE)n4X
The encoding to use for localization messages OrP-+eg
国际化信息内码 G0Zq:kJ
#k2&2W=x
struts.i18n.reload j~,7JJ
(y
Whether the localization messages should automatically be reloaded )R$+dPu>
是否国际化信息自动加载 RK?b/9y
fD+'{ivN4
struts.locale nB"r<?n<
The default locale for the Struts application su.hmc
默认的国际化地区信息 !Cxo4Twg
h<H.8.o
struts.mapper.class f1MKYM%^x
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class la#f,C3_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 cmgI,n-o?
(pM5B8U
struts.multipart.maxSize a@ `1 5O:
The maximize size of a multipart request (file upload) owL>w
multipart请求信息的最大尺寸(文件上传用) ry9%Y3
{a`t1oX(
struts.multipart.parser Jj+|>(P
The org.apache.struts2.dispatcher.multipart. >Ia{ZbQV
MultiPartRequest parser implementation for a multipart request (file upload) H~%HTl
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &ywAzGV{s
$z,lq#zzl
J'^H@L/E
struts.multipart.saveDir ~_ss[\N
The directory to use for storing uploaded files taOD,}c|$
设置存储上传文件的目录夹 %UZ_wsY\
Jydz2
zt!
struts.objectFactory vQB;a?)o
The com.opensymphony.xwork2.ObjectFactory implementation class =H&{*Ja
com.opensymphony.xwork2.ObjectFactory接口(spring) X`bN/sI
{~NiGHY
struts.objectFactory.spring.autoWire mh`~1aEr
Whether Spring should autoWire or not u&Q2/Y
是否自动绑定Spring ol]"r5#Q_H
v`3q0,,
struts.objectFactory.spring.useClassCache ~EJVlji
Whether Spring should use its class cache or not ufF$7@(+
是否spring应该使用自身的cache Ut:>'TwG
pN# \
struts.objectTypeDeterminer 2)}ic2]pn
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fwaq
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @IL_
iXt1{VP'K
struts.serve.static.browserCache ,b;eU[!]
If static content served by the Struts filter should set browser caching header properties or not t\44 Pu%
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >7%Gd-;l
,{wA%Oy,
struts.serve.static u,AZMjlF
Whether the Struts filter should serve static content or not oE:9}]N_
是否struts过滤器应该提供静态内容 bOR1V\Jr$q
N&g9z{m7
struts.tag.altSyntax VZ"W_U,
Whether to use the alterative syntax for the tags or not } :U'aa
是否可以用替代的语法替代tags nXH U|5.I
Lc,`
struts.ui.templateDir <Stfqa6FJ
The directory containing UI templates dIk/vg
UI templates的目录夹 sOzmw^7
~=HrD?-99p
struts.ui.theme 1 .\|,$
The default UI template theme 3S4'x4*
默认的UI template主题 <P&~k\BuF{
iW.4'9
struts.url.http.port On%21L;JG
The HTTP port used by Struts URLs Hc.r/
设置http端口 pzcV[E1
L
;5R*)t
struts.url.https.port q{D_p[q
The HTTPS port used by Struts URLs "fWAp*nI3t
设置https端口
`I*W}5
/)I:Cz/f
struts.url.includeParams CZ2&9Vb9I
The default includeParams method to generate Struts URLs S!!i
在url中产生 默认的includeParams EHpIbj;n
|eS5~0<`
p H&Tb4
struts.velocity.configfile 72rnMHq
The Velocity configuration file path .48Csc-
velocity配置文件路径 ybWb'+x
Vgy}0pCl
struts.velocity.contexts E-Z6qZ^
List of Velocity context names xWkCP2$?P
velocity的context列表 >E*j4gg
JkT, i_
T)%34gN
struts.velocity.manager.classname 9
Yv;Dom
org.apache.struts2.views.velocity.VelocityManager implementation class uJ:'<dJ
org.apache.struts2.views.velocity.VelocityManager接口名 @C[]o.r
Y1e>P
struts.velocity.toolboxlocation !uaV6K
The location of the Velocity toolbox {2u#Q7]|
velocity工具盒的位置 aLr\Uq,83
struts.xslt.nocache &YMz3ugI
Whether or not XSLT templates should not be cached 9qyA{
|3
是否XSLT模版应该被缓存 yEYlQ= [#