struts2的struts.properties配置文件详解 5`g VziS!S
sUK|*y
struts.action.extension |]k,0Y3v
The URL extension to use to determine if the request is meant for a Struts action CDsl)
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 noEl+5uY
V0W4M%
struts.configuration V\opC6*L_e
The org.apache.struts2.config.Configuration implementation class !$>b}w'
org.apache.struts2.config.Configuration接口名 9!Jt}n?!g
|@yYM-;6
struts.configuration.files
;Q4,I[?%
A list of configuration files automatically loaded by Struts aDxNAfP
struts自动加载的一个配置文件列表 AXSip
YRr,{[e
struts.configuration.xml.reload 'mTY56Yq
Whether to reload the XML configuration or not 8oXp8CC
是否加载xml配置(true,false) qswC>Gi
z@pa;_
struts.continuations.package ZkQ6~cM
The package containing actions that use Rife continuations ~K99DK.
含有actions的完整连续的package名称 9c }qVf-i
hvNK"^\p
struts.custom.i18n.resources (2M00J-o
Location of additional localization properties files to load /c 7z[|
加载附加的国际化属性文件(不包含.properties后缀) }#%Ye CA?
-!O8V
struts.custom.properties O>a1S*mxP
Location of additional configuration properties files to load ccPWfy_
加载附加的配置文件的位置 r]DU
aR('u:@jHi
!MOsP<2
struts.devMode zUZET'Bm9
Whether Struts is in development mode or not 5>daWmD
是否为struts开发模式 &=$f\O1Ty
Dj'?12Onu=
struts.dispatcher.parametersWorkaround KG9-ac
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _~ei1
G.R
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O!XSU,
VBF:MAA
struts.enable.DynamicMethodInvocation G$&jP:2q
Allows one to disable dynamic method invocation from the URL Y~A I2H S
允许动态方法调用 Az8ZA ~Op=
#N>66!/V
struts.freemarker.manager.classname "::2]3e
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6NhGTLI
org.apache.struts2.views.freemarker.FreemarkerManager接口名 &GJVFr~z
F;h^o !W7r
struts.i18n.encoding |YyNqwP`,
The encoding to use for localization messages un -h%-e|
国际化信息内码 GEh( pJ
VKX|0~
struts.i18n.reload vM5/KrW
Whether the localization messages should automatically be reloaded e@TwZ6l
是否国际化信息自动加载 /IJy'@B
%6 GM[1__
struts.locale &z:bZH]DH
The default locale for the Struts application ?eX/vqk
默认的国际化地区信息 92A9gY
8wOscL f:
struts.mapper.class <OKc?[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ag47 $9(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 alHA&YC{K
QT^b-~^
struts.multipart.maxSize cSV&p|
The maximize size of a multipart request (file upload) uL1lB@G@
multipart请求信息的最大尺寸(文件上传用) 5;p|iT
S7nx4c2xK~
struts.multipart.parser q oi21mCn
The org.apache.struts2.dispatcher.multipart. |pWu|M _'
MultiPartRequest parser implementation for a multipart request (file upload) t&q~ya/C
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w4\
3*
~n%Lo3RiP
) 5$?e
struts.multipart.saveDir ~+Pe=~a[
The directory to use for storing uploaded files {"{]S12N
设置存储上传文件的目录夹 x 4L3Z__
q{f\_2[
struts.objectFactory RJerx:]
The com.opensymphony.xwork2.ObjectFactory implementation class hCr,6nc C
com.opensymphony.xwork2.ObjectFactory接口(spring) /_{ZWLi(
\gPMYMd
struts.objectFactory.spring.autoWire 2gZp
O9
Whether Spring should autoWire or not <,n:w[+!`P
是否自动绑定Spring 4m91XD
V,d\Wk k/
struts.objectFactory.spring.useClassCache O_4B>
)zd
Whether Spring should use its class cache or not jaKW[@<
是否spring应该使用自身的cache x< 2]UB`
R<6y7?]bZ
struts.objectTypeDeterminer Qg(;>ops
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }8aqSD<:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 SE^l`.U@
j7gTVfO
struts.serve.static.browserCache >A-{/"p#
If static content served by the Struts filter should set browser caching header properties or not un-%p#
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H{=G\N{
d<Q%h?E
struts.serve.static ]3f[v:JQ
Whether the Struts filter should serve static content or not &;P\e
是否struts过滤器应该提供静态内容 u^{p'a'
js <Up/1
struts.tag.altSyntax @_-,Q5
Whether to use the alterative syntax for the tags or not >Jx=k"Kv+
是否可以用替代的语法替代tags GF%/q :9
uK"FopUJ4i
struts.ui.templateDir 'F.P93
The directory containing UI templates ,-E'059
UI templates的目录夹 q6C`hVMl
z7`|N`$Z#s
struts.ui.theme 3I~.'>Pd
The default UI template theme 9S}rTZkEq
默认的UI template主题 *P`wuXn}
:" !Z9l\@
struts.url.http.port K&NH?
The HTTP port used by Struts URLs ;)CN=J!
设置http端口 sfn^R+x4,9
O(8CrKYY
struts.url.https.port u_9c>
The HTTPS port used by Struts URLs 7>O`UT<t4@
设置https端口 8uLS7\,$z
}kvix{
struts.url.includeParams $[fq Th
The default includeParams method to generate Struts URLs 8_HBcZWs
在url中产生 默认的includeParams Nr2,m"R{
i)X~L4gn
+<F3}]]
struts.velocity.configfile PLs`Ci|`
The Velocity configuration file path uE9,N$\L_
velocity配置文件路径 7R:Ij[dV
y _"V=:
struts.velocity.contexts ROQ]sQpk
List of Velocity context names P<vU!`x%q
velocity的context列表 @- |G_BZ
t7x<=rW7u
U~7udUR
struts.velocity.manager.classname L@AFt)U
org.apache.struts2.views.velocity.VelocityManager implementation class #vyf*jPr
org.apache.struts2.views.velocity.VelocityManager接口名 cw
2!V@
8YlZ({f
struts.velocity.toolboxlocation HOWpTu(
The location of the Velocity toolbox r1%{\<
velocity工具盒的位置 %?gG-R
struts.xslt.nocache a"U3h[;$y
Whether or not XSLT templates should not be cached !fn%Q'S
是否XSLT模版应该被缓存 H<i!C|AF