struts2的struts.properties配置文件详解 E(p*B8d
!M*$pQi}
struts.action.extension XI/LVP,.
The URL extension to use to determine if the request is meant for a Struts action kaG@T,pH(
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &CcUr#|
s%OPoRE
struts.configuration GFX$vn-/F
The org.apache.struts2.config.Configuration implementation class ed\umQ]
org.apache.struts2.config.Configuration接口名 %K/zVYGm&
Z!eW_""wp
struts.configuration.files ^Ee"w7XjD
A list of configuration files automatically loaded by Struts a\]glw\;
struts自动加载的一个配置文件列表 =Ul{#R
z
>JUOS2
struts.configuration.xml.reload m6 V L
Whether to reload the XML configuration or not edZhI
是否加载xml配置(true,false) eWw#
T^
z-g"`w:Lj
struts.continuations.package (;6vT'hE
The package containing actions that use Rife continuations uJ@C-/BD!M
含有actions的完整连续的package名称 @;1Ym\zc
gAxf5A_x)
struts.custom.i18n.resources 1Ht&;V
Location of additional localization properties files to load 6aq=h`Y
加载附加的国际化属性文件(不包含.properties后缀) [,?5}'we
*^=zQ~
struts.custom.properties E,wOWs*
Location of additional configuration properties files to load ,2MLYW,
加载附加的配置文件的位置 i[V\RKH*F
hwj:$mR
^0T DaZDLp
struts.devMode tsf)+`vt
Whether Struts is in development mode or not
d")TH 3pG
是否为struts开发模式 gi#g)9HG
yc:y}"
struts.dispatcher.parametersWorkaround k[<Uxh%
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @q/E)M?
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "x~su?KiA
#[B]\HO
struts.enable.DynamicMethodInvocation ]mZN18#
Allows one to disable dynamic method invocation from the URL \&#IK9x{
允许动态方法调用 :rzq[J^
7^<{aE:
struts.freemarker.manager.classname Nay&cOz
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class S:YQVj
org.apache.struts2.views.freemarker.FreemarkerManager接口名 dHO8 bYBH
nd3n 'b
struts.i18n.encoding e4mAKB
s!
The encoding to use for localization messages /OtLIM+7~{
国际化信息内码 '5;
/V
U
rL|r.
struts.i18n.reload LZ-&qh
Whether the localization messages should automatically be reloaded AdGDs+at,
是否国际化信息自动加载 e,8[fp-7
3z~d7J
struts.locale 6*r#m%|
The default locale for the Struts application Zog&:]P'F
默认的国际化地区信息 t;/s^-}
ic=tVs
struts.mapper.class H9+[T3b
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /]>8V'e\
org.apache.struts2.dispatcher.mapper.ActionMapper接口 $ts1XIK%
,(y6XUV~
struts.multipart.maxSize HY>zgf,0
The maximize size of a multipart request (file upload) ?Jy/]j5fI
multipart请求信息的最大尺寸(文件上传用) 5e|yW0o
W\1V`\gF
struts.multipart.parser 2uT"LW/(H
The org.apache.struts2.dispatcher.multipart. 8D:0Vhx\I
MultiPartRequest parser implementation for a multipart request (file upload) D4IP$pAD
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) oUNuM%g9Dy
}[mLtv%&
b2Oj 1dP1
struts.multipart.saveDir Z(wj5;[G
The directory to use for storing uploaded files HF;$Wf+=J
设置存储上传文件的目录夹 MfG8=H2#|
:N#8|;J1Fl
struts.objectFactory ["N_t:9I
The com.opensymphony.xwork2.ObjectFactory implementation class {({Rb$
com.opensymphony.xwork2.ObjectFactory接口(spring) +rWcfXOHM
OYLg-S
struts.objectFactory.spring.autoWire g|=1U
Whether Spring should autoWire or not t`Lh(`
是否自动绑定Spring }-N4D"d4o
5=hMTztf!!
struts.objectFactory.spring.useClassCache n"g)hu^B
Whether Spring should use its class cache or not ~v|NC([(
是否spring应该使用自身的cache -I'Jm=q3]
kA4bv}
struts.objectTypeDeterminer 1Rd2Xb
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tYUg%2G
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ./@C
YS0^!7u
struts.serve.static.browserCache U>0~ /o
If static content served by the Struts filter should set browser caching header properties or not opv<r*!
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a?1lj,"~R
)uRR!<"~
struts.serve.static Ge^(Ag}vE
Whether the Struts filter should serve static content or not 7?"-:q
是否struts过滤器应该提供静态内容 zJH:`~GxE
e#!,/pE
struts.tag.altSyntax dj2w_:&W
Whether to use the alterative syntax for the tags or not hEMS
是否可以用替代的语法替代tags j^6,V\;l
BK)3b6L=%
struts.ui.templateDir AOv>O52F/Q
The directory containing UI templates ]47!Zo,
UI templates的目录夹 )'i n}M
ZO8r8
[
struts.ui.theme 'BX
U'
The default UI template theme iT=h}>
默认的UI template主题 B+4WnR1%T
RXw }Tb/D8
struts.url.http.port &|I{ju_
The HTTP port used by Struts URLs -58Sb"f
设置http端口 S5/p3;O\c
qlm7eS"sy
struts.url.https.port q_86nvB<
The HTTPS port used by Struts URLs oCSJ<+[(C
设置https端口 &6&$vF65c
N~vK8j@
struts.url.includeParams OICH:(t_
The default includeParams method to generate Struts URLs MmH(dp+
在url中产生 默认的includeParams Y$0K}`{
r*f:%epB%
d$B+xW
struts.velocity.configfile WXFCe@
The Velocity configuration file path 3eN(Sw@p
velocity配置文件路径 <RCeY(1
~tZy-1
struts.velocity.contexts t*wV<b
List of Velocity context names Q5 =
velocity的context列表 [PH56f
`N;O6
wZ
}e-D&