struts2的struts.properties配置文件详解 5S/>l_od$2
G_oX5:J*
struts.action.extension $fArk36O#
The URL extension to use to determine if the request is meant for a Struts action |uha 38~
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *Jnh";~b
Md(JIlh3
struts.configuration q&M:17+:Q
The org.apache.struts2.config.Configuration implementation class 2tr
:xi@
org.apache.struts2.config.Configuration接口名 9\51Z:>
J6|JWp
struts.configuration.files qMgfMhQ7DU
A list of configuration files automatically loaded by Struts hN4VlNKu
struts自动加载的一个配置文件列表 &zN@5m$k;
#MTj)P,
struts.configuration.xml.reload 5}<[[}(
Whether to reload the XML configuration or not %<U{K;
是否加载xml配置(true,false) .Vx|'-u
$^vP<
struts.continuations.package ;e;\q;GP
The package containing actions that use Rife continuations >_Uj?F:
含有actions的完整连续的package名称 }z'DWp=uN
Tx+ p8J|Yr
struts.custom.i18n.resources 4: sl(r
Location of additional localization properties files to load {vfq
加载附加的国际化属性文件(不包含.properties后缀) (L#%!bd
huAyjo
struts.custom.properties \y*j4 0
Location of additional configuration properties files to load Y$8; Gm<)
加载附加的配置文件的位置 N~g%wf@w
?:}Pa<D&K
SMq9j,k
struts.devMode /_OOPt=G
Whether Struts is in development mode or not Zd<[=%d
是否为struts开发模式 R#0{Wg0O)
W(k:Pl#
struts.dispatcher.parametersWorkaround k/#M<z
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aW`dFitpM
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :o\5K2]:
B
T7Id
struts.enable.DynamicMethodInvocation +Jw{qQR/*
Allows one to disable dynamic method invocation from the URL i| xt f
允许动态方法调用 aF])"9
6GOg_P
struts.freemarker.manager.classname ;:_(7|
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wW()Zy0)
org.apache.struts2.views.freemarker.FreemarkerManager接口名 t-lv|%+8
:Y.e[@!1x
struts.i18n.encoding vXubY@k2
The encoding to use for localization messages 1l]C5P}E
国际化信息内码 jaqV[*440U
4Iq5+Q
struts.i18n.reload 4g!7
4a
Whether the localization messages should automatically be reloaded F!R2_89iy
是否国际化信息自动加载 n#>5?W
`cO|RhD@
struts.locale *aG"+c6|
The default locale for the Struts application *:#Z+7x
]
默认的国际化地区信息 Qu}N:P9l?X
h2&y<Eg >
struts.mapper.class Vi,Y@+4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "UpOY
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,eK2I Ao
T&4fBMBp,%
struts.multipart.maxSize j)Lo'&Y~=
The maximize size of a multipart request (file upload) QT_^M1%
multipart请求信息的最大尺寸(文件上传用) )d_U)b7i
w -dI<s
struts.multipart.parser [|z'"Gk{
The org.apache.struts2.dispatcher.multipart. W gZ@N
MultiPartRequest parser implementation for a multipart request (file upload) \P@S"QO
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pE(sV{PD
_Y7:!-n}
x:C@)CAr
struts.multipart.saveDir 'RQiLUF
The directory to use for storing uploaded files Loc8eToZ
设置存储上传文件的目录夹 !=knppY
@SQceQfB
struts.objectFactory u7 u~
The com.opensymphony.xwork2.ObjectFactory implementation class <)J55++
com.opensymphony.xwork2.ObjectFactory接口(spring) P,`=]Y*
hG~ Uz
struts.objectFactory.spring.autoWire +WdL
Whether Spring should autoWire or not (-'PD_|
是否自动绑定Spring /xf.\Z7<
U
TS{H
struts.objectFactory.spring.useClassCache 85Dm8~
Whether Spring should use its class cache or not D{3fhPNU<b
是否spring应该使用自身的cache P|v ?
%\l0-RA@<
struts.objectTypeDeterminer &&*wmnWCS{
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [[$Mh_MD
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Y)v%
Hq-v@@0 *
struts.serve.static.browserCache i2U/RXu
If static content served by the Struts filter should set browser caching header properties or not hvL6zCi
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `{WCrw6)
1V\1]J/
struts.serve.static N&,"kRFFo
Whether the Struts filter should serve static content or not {~"Em'}J
是否struts过滤器应该提供静态内容 YiO3<}Uf
ZgK@Fl*k
struts.tag.altSyntax tB!|p 6
Whether to use the alterative syntax for the tags or not G-sa
L*
是否可以用替代的语法替代tags cY^Y!.,
%WmZ ]@M
struts.ui.templateDir s1v{~xP
The directory containing UI templates Qv74?B@
UI templates的目录夹 | 4%v"U
>LCjtm\
struts.ui.theme ]svw
CPu C
The default UI template theme zM)M_L
默认的UI template主题 I>!|3ElT
vo.EM1x
struts.url.http.port hOV_Oqe4?
The HTTP port used by Struts URLs eNivlJ,K|@
设置http端口 <%(f9j
ELD
+:b
struts.url.https.port P0Aas)!
The HTTPS port used by Struts URLs 83X/"2-K
设置https端口 ,qYf#fU#7
={OCa1
struts.url.includeParams z^"?sd
The default includeParams method to generate Struts URLs $/os{tzjd
在url中产生 默认的includeParams &9k"9
m/cx|b3hqv
l; */M.B
struts.velocity.configfile B piEAwh
The Velocity configuration file path MR[N6E6Mg
velocity配置文件路径 3!1&DII4
xvHOY:
struts.velocity.contexts ;\1b{-' l
List of Velocity context names 5,Qy/t}K
velocity的context列表 9B&
}7kk
>&g2 IvDS
0;'j!`l9
struts.velocity.manager.classname
hgNY[,
org.apache.struts2.views.velocity.VelocityManager implementation class *?s/Ho &'
org.apache.struts2.views.velocity.VelocityManager接口名 *-+C<2"
j`Tm\!q
struts.velocity.toolboxlocation OrzM
hQaf
The location of the Velocity toolbox r';Hxa '
velocity工具盒的位置 x!Y( Y=i>
struts.xslt.nocache wbo{JQ
Whether or not XSLT templates should not be cached tP -5
是否XSLT模版应该被缓存 % 1OC#&