struts2的struts.properties配置文件详解 jAfUz7@
NcZ6!wWdE
struts.action.extension 5Lo{\7%
The URL extension to use to determine if the request is meant for a Struts action ;yqJEj_m(
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ce.'STm=
(\e,,C%;
struts.configuration W=&\d`><k
The org.apache.struts2.config.Configuration implementation class HtgVD~[]
org.apache.struts2.config.Configuration接口名 8TD:~ee
;iy]mPd
struts.configuration.files `8\_ ]w0
A list of configuration files automatically loaded by Struts /P<RYA~
struts自动加载的一个配置文件列表 D!Owm&We
Ry,_%j3
struts.configuration.xml.reload aU<0<Dx
Whether to reload the XML configuration or not }N#jA yp!
是否加载xml配置(true,false) s7tNAj bgD
[~`;
.7~
struts.continuations.package qtnLQl"M
The package containing actions that use Rife continuations QK&<im-
含有actions的完整连续的package名称 7C9qkQ
Jqn
'=G 4R{
struts.custom.i18n.resources )3=oS1p
Location of additional localization properties files to load xqmP/1=NO
加载附加的国际化属性文件(不包含.properties后缀) Xnt`7L<L
AH;0=<n
struts.custom.properties rOm)s'
Location of additional configuration properties files to load 7h<B:~(K
加载附加的配置文件的位置 b&"=W9(V
z|=l^u6uS
>7!4o9)c
struts.devMode B%6>2S=E
Whether Struts is in development mode or not T-xcd
是否为struts开发模式 pR4{}=g,
Yn+/yz5k_
struts.dispatcher.parametersWorkaround X<Rh-1$8F
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4};iL)
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4 C/
1u:OzyJy
struts.enable.DynamicMethodInvocation 0\qbJ
Allows one to disable dynamic method invocation from the URL QxwZ$?w%
允许动态方法调用 T?N' k=
Mc>]ZAz r
struts.freemarker.manager.classname 8c3`IIzAS
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class z'O$[6m6
org.apache.struts2.views.freemarker.FreemarkerManager接口名 I;qeDCM
R44JK
struts.i18n.encoding NS6#od
ZeV
The encoding to use for localization messages %0YwaxXPn7
国际化信息内码 p~J`}>yo
w")VcAq
struts.i18n.reload _&FcHwRy
Whether the localization messages should automatically be reloaded C8}ujC
是否国际化信息自动加载 l]%_D*<Y
INby0S
struts.locale G5|xWeNgA
The default locale for the Struts application KV k
36;$
默认的国际化地区信息 12gcma}
bLUn>ch
struts.mapper.class pFXDo4eH
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \om$%FUP
org.apache.struts2.dispatcher.mapper.ActionMapper接口 68V66:0
[h""AJ~t
struts.multipart.maxSize sw6]Bc
The maximize size of a multipart request (file upload) A-aukJg9
multipart请求信息的最大尺寸(文件上传用) /k|y \'<
IFlDw}M!9
struts.multipart.parser 3o9`Ko0
The org.apache.struts2.dispatcher.multipart. / *Z(;-
MultiPartRequest parser implementation for a multipart request (file upload) T3u%V_
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }\|$8~
Lfx&DK !
(5]<t&M
struts.multipart.saveDir F8$.K*tT
The directory to use for storing uploaded files M&Sjo' ( .
设置存储上传文件的目录夹 h`-aO u
poGF
struts.objectFactory lsU|xOB
The com.opensymphony.xwork2.ObjectFactory implementation class MLtfi{;LH
com.opensymphony.xwork2.ObjectFactory接口(spring) |!euty ::
6AKH0t|4
struts.objectFactory.spring.autoWire u3(zixb
Whether Spring should autoWire or not F-k3'eyY
是否自动绑定Spring rY4{,4V
&s->,-,
struts.objectFactory.spring.useClassCache 2>l4$G0
Whether Spring should use its class cache or not dX-{75o5P
是否spring应该使用自身的cache {1li3K&0s
><}FyK4C
struts.objectTypeDeterminer &?f{.
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &%+}bt5
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 T~J6(,"
R(@B4M2
struts.serve.static.browserCache ,-myR1}
If static content served by the Struts filter should set browser caching header properties or not ^s\(2lB\F
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a FjcyD
Ki(qA(r
struts.serve.static d@#!,P5`
Whether the Struts filter should serve static content or not bccJVwXv
是否struts过滤器应该提供静态内容 \-a^8{.^E
-"YQo
struts.tag.altSyntax |'9%vtbM
Whether to use the alterative syntax for the tags or not "toyfZq@
是否可以用替代的语法替代tags Q#Q]xJH
N`1:U
4}
struts.ui.templateDir RMUR@o5N
The directory containing UI templates 8VQJUwf;
UI templates的目录夹 J3KY?,g3O_
mRZC98$ @r
struts.ui.theme Y*/:IYr`
The default UI template theme 3?iRf6;n
默认的UI template主题 E;.<'t>
~KHGh29
struts.url.http.port ,#hS#?t
The HTTP port used by Struts URLs ZgQ4~s
设置http端口 +kP)T(6
#|k;nFJ
struts.url.https.port qL.1N~$2
The HTTPS port used by Struts URLs VC5LxA0{
设置https端口 j9)P3=s
NNLZ38BV7
struts.url.includeParams :0|]cHm
The default includeParams method to generate Struts URLs -CtLL_ I
在url中产生 默认的includeParams ,l^; ZE
}R4%%)j(Vj
p \A ^kX^5
struts.velocity.configfile o%XAw
The Velocity configuration file path kW0|\
velocity配置文件路径 DP ,owk
,*$L_itL
struts.velocity.contexts `WQz_}TqB
List of Velocity context names /yPFts_q
velocity的context列表 ,~u 5SR
F$<>JEdX
Nd'+s>d0
struts.velocity.manager.classname XdE#l/#
org.apache.struts2.views.velocity.VelocityManager implementation class teH.e!S
org.apache.struts2.views.velocity.VelocityManager接口名 )w(-Xc?P
4Xt.}S!
struts.velocity.toolboxlocation }tA77Cm)45
The location of the Velocity toolbox j hf%ze
velocity工具盒的位置 H^z6.!$m
struts.xslt.nocache mz$)80ly
Whether or not XSLT templates should not be cached /\34o{
是否XSLT模版应该被缓存 >Eg/ir0