struts2的struts.properties配置文件详解 sBj(Qd
5d Eh7XL
struts.action.extension SYAyk
The URL extension to use to determine if the request is meant for a Struts action V,lOt4b
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 eenH0Ovv
7Wf/$vRab
struts.configuration 4[m`#
The org.apache.struts2.config.Configuration implementation class \ub7`01
org.apache.struts2.config.Configuration接口名 %
L$bf#
!Q2d(H>
struts.configuration.files XRM_x:+]
A list of configuration files automatically loaded by Struts $v4.sl:x
struts自动加载的一个配置文件列表 JFcLv=U
RIWxs Zt
struts.configuration.xml.reload ugdQAg
Whether to reload the XML configuration or not vOn`/5-
是否加载xml配置(true,false) 6a(yp3
TV)h`\|Z*
struts.continuations.package M'7f O3&|
The package containing actions that use Rife continuations M8MRoA6F
含有actions的完整连续的package名称 SE@LYeC}dE
&47i"%
struts.custom.i18n.resources /?uPEKr
Location of additional localization properties files to load >K_(J/&p
加载附加的国际化属性文件(不包含.properties后缀) [_R~%Yh+'E
,k +IPkN+
struts.custom.properties CpUkCgg
Location of additional configuration properties files to load o5Dk:Bw
加载附加的配置文件的位置 x[FJgI'r
lHN5Dr
c,np2myd
struts.devMode u@Ih GME
Whether Struts is in development mode or not :KQ~Cb
是否为struts开发模式 I:R[;TB?y
?ZV/U!y
struts.dispatcher.parametersWorkaround u1J0$
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ec!"O3%!M^
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8bTn^!1
}^ApJS(FQ
struts.enable.DynamicMethodInvocation Sj%u)#Ub
Allows one to disable dynamic method invocation from the URL 7Od
-I*bt
允许动态方法调用 'F+C4QAq
[<lHCQXJ/
struts.freemarker.manager.classname 5V?&8GTe
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7-bd9uVK
org.apache.struts2.views.freemarker.FreemarkerManager接口名 F&!6jv
B~1_ 28\
struts.i18n.encoding j8v8uZ;x
The encoding to use for localization messages >8~.wXyoC
国际化信息内码 !a{^=#qq&I
z Xg3[orF
struts.i18n.reload xT3BHnQ(
Whether the localization messages should automatically be reloaded k :(SCHf
是否国际化信息自动加载 LA!?H]
k|e7a2Wwt
struts.locale EaO6[E
The default locale for the Struts application [>jbhV'
默认的国际化地区信息 jZu[n)u'C
{3|t;ZHk
struts.mapper.class |B?cVc0
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class g#"zQv ON
org.apache.struts2.dispatcher.mapper.ActionMapper接口 C8J[Up
{c6=<Kv
struts.multipart.maxSize `!obGMTQ<
The maximize size of a multipart request (file upload) }s7$7
multipart请求信息的最大尺寸(文件上传用) zIqU,n|]s
}z eO]"`
struts.multipart.parser QmQ=q7
The org.apache.struts2.dispatcher.multipart. %6|nb:Oa
MultiPartRequest parser implementation for a multipart request (file upload) 5MroNr
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H9'$C/w
&W|[r(
I,E?h?6Y
struts.multipart.saveDir &fDIQISC
The directory to use for storing uploaded files Tr_w]'
设置存储上传文件的目录夹 !{ y@od@T
"IZa!eUW
struts.objectFactory 0pZ4BZdT|
The com.opensymphony.xwork2.ObjectFactory implementation class {j{u6i
com.opensymphony.xwork2.ObjectFactory接口(spring) 8o3E0k1
xsIY7Ss U
struts.objectFactory.spring.autoWire J4k=A7^N
Whether Spring should autoWire or not 2":pE U{E
是否自动绑定Spring Q1U\D
h=W:^@G
struts.objectFactory.spring.useClassCache X2#2C/6#u
Whether Spring should use its class cache or not ,1y@Z 5wy
是否spring应该使用自身的cache {kA0z2Fe
Yk'XGr)
struts.objectTypeDeterminer y`L>wq,KU
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8EZ$g<}
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口
|tKsgj
@KXV%a'
struts.serve.static.browserCache AiwOc+R
If static content served by the Struts filter should set browser caching header properties or not T.])diuvj-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^P[e1?SZG
^7w+l @
struts.serve.static zG }@0
Whether the Struts filter should serve static content or not +cJL7=V&
是否struts过滤器应该提供静态内容 {JO^tI
&yct!YOB2
struts.tag.altSyntax _?-E7:Sw
Whether to use the alterative syntax for the tags or not j@AIK+0Qc
是否可以用替代的语法替代tags ?fQ'^agq
iJ ($YvF4
struts.ui.templateDir } +TORR?
The directory containing UI templates a[>/h3
UI templates的目录夹 Q0)#8Rcm
oTEL?hw5
struts.ui.theme uF X#`^r`
The default UI template theme yks__ylrl(
默认的UI template主题 q}b
dxa
Yz'K]M_Dq
struts.url.http.port y8d]9sX{
The HTTP port used by Struts URLs [meO[otb
设置http端口 ;o
6lf_
#oS<E1
struts.url.https.port )!3V/`I
The HTTPS port used by Struts URLs 1gE [v
设置https端口 Bj+S"yS
#QS`_TlKk
struts.url.includeParams Q1T$k$n
The default includeParams method to generate Struts URLs IDad9 Bx
在url中产生 默认的includeParams ]vz%iv_
a1g,@0s
gIo@Pm
struts.velocity.configfile e+=y*OmQ
The Velocity configuration file path ,L|%"K]yM
velocity配置文件路径 fnpYT:%fG
Y@NNrGDkT*
struts.velocity.contexts \e:7)R2<!x
List of Velocity context names wVvF^VHV^
velocity的context列表 %h hfU6[
O;+ maY^l
NyaQI<5D
struts.velocity.manager.classname n"h`5p5'
org.apache.struts2.views.velocity.VelocityManager implementation class I:E`PZ
org.apache.struts2.views.velocity.VelocityManager接口名 %Si6]3-^@
nyX2|m&
struts.velocity.toolboxlocation dhC$W!N7!
The location of the Velocity toolbox 0XOp3
velocity工具盒的位置 -$t{>gO#Y
struts.xslt.nocache ^gN6/>]qrY
Whether or not XSLT templates should not be cached @T@<_ ?)
是否XSLT模版应该被缓存 oro$wFxJO