struts2的struts.properties配置文件详解 ;8BA~,4l
4b]_
#7Qm
struts.action.extension f?Z|>3.2
The URL extension to use to determine if the request is meant for a Struts action 6eM6[
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #^Ys{
^/k,
struts.configuration z9 O~W5-U
The org.apache.struts2.config.Configuration implementation class
O)O Uy
org.apache.struts2.config.Configuration接口名 21ViHV
7 %3<~'v[
struts.configuration.files 8qN"3 Et
A list of configuration files automatically loaded by Struts V>B'+b+<
struts自动加载的一个配置文件列表 m*`cuSU|o
4\\.n
struts.configuration.xml.reload i =-8@
Whether to reload the XML configuration or not eI0F!Yon
是否加载xml配置(true,false) MO-!TZ+6
_AprkI_
struts.continuations.package kymn)Ea
The package containing actions that use Rife continuations
aV<^IxE;
含有actions的完整连续的package名称 2yvVeo&3
#\LZ;&T'N
struts.custom.i18n.resources Nl
{7
Location of additional localization properties files to load V'j@K!)~xR
加载附加的国际化属性文件(不包含.properties后缀) 9_GokU P_
yQ'eu;+]
struts.custom.properties ;@9e\!%
Location of additional configuration properties files to load G)8ChnJa!m
加载附加的配置文件的位置 vnTq6:f#M
kQIfYtT
.A(i=!{q
struts.devMode |:N>8%@6c
Whether Struts is in development mode or not ocwE_dR{
是否为struts开发模式 +1/b^Ac
+qhnP$vIe
struts.dispatcher.parametersWorkaround mpAHL(
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q4k.f_{
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {c@G$
@UO}W_0ZD
struts.enable.DynamicMethodInvocation }"n7~|
Allows one to disable dynamic method invocation from the URL qi&D+~Gv!
允许动态方法调用 Ib6(Bp9.L
d/]|657u
struts.freemarker.manager.classname N 'i,>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -6`;},Yr
org.apache.struts2.views.freemarker.FreemarkerManager接口名 a8zZgIV
nkRK+~>
struts.i18n.encoding E?cZbn*>`
The encoding to use for localization messages lVoik*,B
国际化信息内码 ETO$9}x[
@(>XOj?+
struts.i18n.reload c" +zgP
Whether the localization messages should automatically be reloaded #]y5zi
是否国际化信息自动加载 O#:&*Mv
=JW[pRI5a
struts.locale AWT"Y4Ie
The default locale for the Struts application U<[jT=L
默认的国际化地区信息 Oc~aW3*A(
B6MkF"J<
struts.mapper.class M&f#wQ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class RLHYw@-j@
org.apache.struts2.dispatcher.mapper.ActionMapper接口 O,|\"b1(
B?3juyB`--
struts.multipart.maxSize Yb6q))Y
The maximize size of a multipart request (file upload) 88 l,&2q
multipart请求信息的最大尺寸(文件上传用) CW-A e
JDA]t&D!v
struts.multipart.parser J{tVa(.
The org.apache.struts2.dispatcher.multipart. 63M=,0-Qt
MultiPartRequest parser implementation for a multipart request (file upload) Xa,\EEmQ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =X@o@1
:u/mTZDi
")%r}:0
struts.multipart.saveDir NR3`M?Hjf
The directory to use for storing uploaded files LuS+_|]x
设置存储上传文件的目录夹 !Lkm? (_
[l*;E
f,
struts.objectFactory bX2"89{
The com.opensymphony.xwork2.ObjectFactory implementation class `!i-#~n
com.opensymphony.xwork2.ObjectFactory接口(spring) 4pPI'd&/7
$r79n-
struts.objectFactory.spring.autoWire 7&+Ys
Whether Spring should autoWire or not `R+,1"5 =
是否自动绑定Spring d~Mg
vh'
IzUo0D*@
struts.objectFactory.spring.useClassCache CVQB"L
Whether Spring should use its class cache or not ,S!w'0k|n
是否spring应该使用自身的cache :=fvZA WD
>qh?L#Fk
struts.objectTypeDeterminer KOSQQf
o
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3n48 %5
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {rXs:N@
@cv{rr
struts.serve.static.browserCache .:9s}%Zr
If static content served by the Struts filter should set browser caching header properties or not zOB=aG?/
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f$F*3
B42sb_
struts.serve.static 6+`tn
Whether the Struts filter should serve static content or not euQ.ArF
是否struts过滤器应该提供静态内容 v(O=IUa
1%`7.;!i
struts.tag.altSyntax s|-FH X
Whether to use the alterative syntax for the tags or not X?o(
b/F-
是否可以用替代的语法替代tags Xy7Z38G
o6L9UdT
struts.ui.templateDir |d}MxS`^
The directory containing UI templates qf8[!5GM
UI templates的目录夹 {{!Y]\2S
KnzsHli,~k
struts.ui.theme ^gYD*K!*
The default UI template theme 2]WE({P
默认的UI template主题 \Fb| {6+
n&Yk<
struts.url.http.port N1x@-/xa|
The HTTP port used by Struts URLs jbte
*Ae
设置http端口 9uYyfb:
,z
DQXS$uBT
struts.url.https.port ]}PV"|#K{c
The HTTPS port used by Struts URLs ~<9{#uM
设置https端口 kB
P*K
L,]=vba'$
struts.url.includeParams 5VE2@Fn}
The default includeParams method to generate Struts URLs ofdZ1F
在url中产生 默认的includeParams m{%t?w$Au
xWX*tJ4
[aqu}Su
struts.velocity.configfile XbXA+ey6
The Velocity configuration file path .tXtcf/
velocity配置文件路径 #AViM_u
xUWr}j4;
struts.velocity.contexts Bl;KOR
List of Velocity context names :@3Wg3N
velocity的context列表 6Y384
JXU2CyMY
Y}STF
struts.velocity.manager.classname *nTU#U
org.apache.struts2.views.velocity.VelocityManager implementation class &h~aChJ
org.apache.struts2.views.velocity.VelocityManager接口名 O8u3y
Om'(mr
struts.velocity.toolboxlocation RW7(r/C
The location of the Velocity toolbox nCxAQ|P?
velocity工具盒的位置 Q(@IK&v
struts.xslt.nocache `,Vv["^ PB
Whether or not XSLT templates should not be cached :+&AY2`
是否XSLT模版应该被缓存 XhW %,/<