struts2的struts.properties配置文件详解 _ !"[Zr
o"N\l{ #s
struts.action.extension Ek06=2i
The URL extension to use to determine if the request is meant for a Struts action rWM5&M
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *6_>/!ywI
%ID48_>*
struts.configuration )99^58my
The org.apache.struts2.config.Configuration implementation class 5K|`RzZ`B$
org.apache.struts2.config.Configuration接口名 5D^2
+`$/
d"ZsOq10D
struts.configuration.files ,HE{&p2y
A list of configuration files automatically loaded by Struts DeN2P
struts自动加载的一个配置文件列表 ~:C`e4
Frx_aGLH1
struts.configuration.xml.reload :%fnJg(
Whether to reload the XML configuration or not SZxnYVY
是否加载xml配置(true,false) HsG3s?*
V+})$m*>
struts.continuations.package LsMq&a-j2
The package containing actions that use Rife continuations WT 5 2
含有actions的完整连续的package名称 tC+11M
rP(;^8l"
struts.custom.i18n.resources +r"fv*g"
Location of additional localization properties files to load lYm00v6y
加载附加的国际化属性文件(不包含.properties后缀) 0|\A5
eG
nGJ+.z
struts.custom.properties U;
#v-'Z
Location of additional configuration properties files to load 33"!K>wC
加载附加的配置文件的位置 =ZV+*cCC=q
0eA|Uq~
Fv^>^txh
struts.devMode qssK0!-
Whether Struts is in development mode or not ^|h.B$_F,
是否为struts开发模式 n;.);
T%PUV \LV
struts.dispatcher.parametersWorkaround HXB&
6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic KpQ@cc
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T}'*Gry
d<cQYI4V
struts.enable.DynamicMethodInvocation |mw3v>
Allows one to disable dynamic method invocation from the URL oBPm^ob4
允许动态方法调用 >T14
J'\
y]k{u\2A
struts.freemarker.manager.classname ,}^;q58
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _4lKd`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 1q*=4O
D|C!KF (
struts.i18n.encoding )h%tEY$AJ
The encoding to use for localization messages Lp{uA4:=K
国际化信息内码 b u/GaE~
)Ee`11
struts.i18n.reload =@;\9j
Whether the localization messages should automatically be reloaded @# p{,L
是否国际化信息自动加载 c5eimA%`
Fe 78YDx?
struts.locale Og2w]B[
The default locale for the Struts application B1U7z1<
默认的国际化地区信息 .T~Oc'wGo
$C{-gx+:
struts.mapper.class ]PH'G>x
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9$R}GK
org.apache.struts2.dispatcher.mapper.ActionMapper接口 )*BG-nM u
jpiBHi]5+
struts.multipart.maxSize EBUCG"e
The maximize size of a multipart request (file upload) FbD9G6h5
multipart请求信息的最大尺寸(文件上传用) lxLEYDGFS
R{Me~L?
struts.multipart.parser ML1/1GK*i+
The org.apache.struts2.dispatcher.multipart. <)oW
MultiPartRequest parser implementation for a multipart request (file upload) cEPqcy
*
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2B=BRVtSs
QyEoWKu;
n8) eC2A
struts.multipart.saveDir +39p5O!
The directory to use for storing uploaded files Q,>]f@m
设置存储上传文件的目录夹 {@X)=.Zf
_s0;mvz'
struts.objectFactory P[gYENQ
The com.opensymphony.xwork2.ObjectFactory implementation class HhqNpU
com.opensymphony.xwork2.ObjectFactory接口(spring) c38ENf
GUvEOD=p
struts.objectFactory.spring.autoWire Dgz^s^fxU
Whether Spring should autoWire or not tNDv[IF
是否自动绑定Spring srIt_Wq
>yt8gw0J
struts.objectFactory.spring.useClassCache vq5o?$:-
Whether Spring should use its class cache or not -h&KC{Xab
是否spring应该使用自身的cache rhwjsC6
GaOM|F'>
struts.objectTypeDeterminer 6L&_(/{Uw
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class yT C+5_7
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?wZ`U
Oi
!X<dN..
struts.serve.static.browserCache ?Lquf&`vP
If static content served by the Struts filter should set browser caching header properties or not `mDCX
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6"U$H$i.G
`R_;n#3F0
struts.serve.static 2?(dS
Whether the Struts filter should serve static content or not z~RE}k
是否struts过滤器应该提供静态内容 :>m67Zq
+nQp_a1{9%
struts.tag.altSyntax n4Q ^
Whether to use the alterative syntax for the tags or not yH',vC.
是否可以用替代的语法替代tags Sk%*Zo{|
&^K,"a{
struts.ui.templateDir t`"pn<
The directory containing UI templates y9Q.TL>=[
UI templates的目录夹 te#Wv9x
0{.[#!CSk
struts.ui.theme t|}}#Z!I[f
The default UI template theme pn
aSOyR
默认的UI template主题 /9@VnM
@A8@j%CK1
struts.url.http.port /
#D R|
The HTTP port used by Struts URLs sk~inIj-
设置http端口 63pd W/\j
p2(Z(V7*
struts.url.https.port L<ET"&b;4
The HTTPS port used by Struts URLs LZ1)zoJ
设置https端口 /n8\^4{fP{
C\gKJW^]y@
struts.url.includeParams ;^|:*
The default includeParams method to generate Struts URLs /zIUYY
在url中产生 默认的includeParams OCbwV7q:
}6 MoC0
wp>L}!
struts.velocity.configfile \~I>@SG2W+
The Velocity configuration file path zIbrw9G
velocity配置文件路径 6[&x7"
=]W[{@P
struts.velocity.contexts f2Z(hYH~
List of Velocity context names +;N;r/d_i
velocity的context列表 ?4YLt|sn
\vqqs
k[5:]5lp+
struts.velocity.manager.classname E8b:MY
org.apache.struts2.views.velocity.VelocityManager implementation class em?Q4t
org.apache.struts2.views.velocity.VelocityManager接口名
L }pj+xB
`E8D5'tt
struts.velocity.toolboxlocation e3]v
*<bj
The location of the Velocity toolbox #9p|aS\
velocity工具盒的位置 r5'bt"K\>
struts.xslt.nocache ! +XreCw
Whether or not XSLT templates should not be cached ~r?VXO p"
是否XSLT模版应该被缓存 }5lC8{wZ