struts2的struts.properties配置文件详解 d3q/mg 5a
>ww1:Sn
struts.action.extension rD)v%vvr&`
The URL extension to use to determine if the request is meant for a Struts action ;|e 0{Jrz
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5v03<m0`y
~+NFWNgN
struts.configuration X2mm'JDwK
The org.apache.struts2.config.Configuration implementation class .J!
$,O@
org.apache.struts2.config.Configuration接口名 Q $,kB<M
OCoRcrAx
struts.configuration.files ?&bVe__
A list of configuration files automatically loaded by Struts EYj2h
.k
struts自动加载的一个配置文件列表 %QcG^R
g 0_r
struts.configuration.xml.reload \<+47+
Whether to reload the XML configuration or not pHbguoH,
是否加载xml配置(true,false) 3lEU$)QA3
Gt*<?
struts.continuations.package ,'0oj$~S:
The package containing actions that use Rife continuations N`^W*>XB
含有actions的完整连续的package名称 KPvYq?F>4
V$]a&wM<5
struts.custom.i18n.resources V?pO ~qo
Location of additional localization properties files to load HK4`@jYQ
加载附加的国际化属性文件(不包含.properties后缀) C=f(NpyD6
NNrZb?
struts.custom.properties x@(f^P
Location of additional configuration properties files to load WYd,tGz
加载附加的配置文件的位置 W}i$f -K
m&vYZ3vK[
WX$^[^=HC
struts.devMode 544I#!
Whether Struts is in development mode or not u+T, n
是否为struts开发模式
SCC/
<o
$ }bC$?^
struts.dispatcher.parametersWorkaround _|#|mb4Fe
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \.-y
LS.
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) FbT&w4Um=
].+G-<.:
struts.enable.DynamicMethodInvocation
F nRxc
Allows one to disable dynamic method invocation from the URL _ r)hr7
允许动态方法调用 ,,-3p#Pbw
p{QKj3ov
struts.freemarker.manager.classname u>Kvub
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?ew]i'9(
org.apache.struts2.views.freemarker.FreemarkerManager接口名 N=Yi:+
}U1{&4Ph
struts.i18n.encoding WmBnc#>gK
The encoding to use for localization messages
x a,LV
国际化信息内码 ]=$ay0HC
S6:gow(wU
struts.i18n.reload xqZ%c/I3q
Whether the localization messages should automatically be reloaded |?b"my$g$
是否国际化信息自动加载 s+t eYL#Zi
F4l6PGxF&\
struts.locale QU;C*}0Zl
The default locale for the Struts application yKy)fn!
默认的国际化地区信息 {.)~4.LhQM
T1TZ+\
struts.mapper.class .-*nD8b
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^]K)V
org.apache.struts2.dispatcher.mapper.ActionMapper接口 zL{@LHP
g5'bUYsa
struts.multipart.maxSize yc}t(*A5
The maximize size of a multipart request (file upload) \0& (q%c
multipart请求信息的最大尺寸(文件上传用) ?Qp_4<(5
im\Ws./
struts.multipart.parser s'w0pZqj
The org.apache.struts2.dispatcher.multipart. 7oSuLo=
MultiPartRequest parser implementation for a multipart request (file upload) ?2/M W27w
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Bd[}A9O[
$f\-.7OD
vDb}CQ\
struts.multipart.saveDir pAL-Pl9z
The directory to use for storing uploaded files `-\JjMSQ1
设置存储上传文件的目录夹 \Vq;j 1
FNO
lR>0e
struts.objectFactory
T8oASg!
The com.opensymphony.xwork2.ObjectFactory implementation class q/zdd3a
com.opensymphony.xwork2.ObjectFactory接口(spring) M:M<bz Vu
0Jif.<
struts.objectFactory.spring.autoWire AYerz
Whether Spring should autoWire or not &^>r<~]
是否自动绑定Spring QrA+W\=_`y
6u8fF|s
struts.objectFactory.spring.useClassCache a
OHAG
Whether Spring should use its class cache or not Darkj>$\
是否spring应该使用自身的cache
8eLL
p0@mumh
struts.objectTypeDeterminer <6 $%Y2
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]<_+uciP5[
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 t`{Fnf
hidweg*7
struts.serve.static.browserCache GDntGTE~sk
If static content served by the Struts filter should set browser caching header properties or not Fje%hcV
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |e(x< [s5
L0~O6*bk
struts.serve.static hQeZI+
Whether the Struts filter should serve static content or not ?uv%E*TU
是否struts过滤器应该提供静态内容 2F]MzeW
s os&
struts.tag.altSyntax ttRH[[E(
Whether to use the alterative syntax for the tags or not zW.sXV,
是否可以用替代的语法替代tags 9|DC<Zn&B#
MQu6Tm H
struts.ui.templateDir vnpX-c
The directory containing UI templates W5{e.eI}|
UI templates的目录夹 n&JP/P3Y
Ss}0.5Bq
struts.ui.theme b@Cvs4
The default UI template theme 8tk`1E8!j
默认的UI template主题 i>}z$'X
)I9(WVx!]
struts.url.http.port }(6k7{,Gw,
The HTTP port used by Struts URLs mer{Jys
设置http端口 Rl8-a8j$f.
~VKXL,.
struts.url.https.port Q0q$ZK6C
The HTTPS port used by Struts URLs 0:p#%Nvg
设置https端口 n!nv.-n
} U.B$4Q
struts.url.includeParams L1BpY-=
The default includeParams method to generate Struts URLs 'z:p8"h}
在url中产生 默认的includeParams b.+\qaR
#U6qM(J
mYvm_t9
struts.velocity.configfile <hdCO<
0(
The Velocity configuration file path *WG}K?"/
velocity配置文件路径 &B
C#u.^!
+f+yh0Dj
struts.velocity.contexts MN4}y5
List of Velocity context names zKr(Gt8
velocity的context列表 [x,&Gwa
K<(RVh
O'(vs"eN
struts.velocity.manager.classname &$f?XdZ7
org.apache.struts2.views.velocity.VelocityManager implementation class ]Re<7_xt
org.apache.struts2.views.velocity.VelocityManager接口名 xOlkG*3c
lNw?}H
struts.velocity.toolboxlocation kzu=-@s
The location of the Velocity toolbox )2S\:&x
velocity工具盒的位置 :z7!X.*
struts.xslt.nocache V"XN(Fd^
Whether or not XSLT templates should not be cached ,8seoX^
是否XSLT模版应该被缓存 D?R z|