struts2的struts.properties配置文件详解 S|apw7C
(4'$y`Z
struts.action.extension 5m?8yT}
The URL extension to use to determine if the request is meant for a Struts action 9so6WIWc
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =
QQ5f5\l
pX&pLaF
struts.configuration *c%oN
|
The org.apache.struts2.config.Configuration implementation class N5]0/,I}
org.apache.struts2.config.Configuration接口名 F#5B<I
?*?RP)V
struts.configuration.files dFH$l
A list of configuration files automatically loaded by Struts )Psb>'X
struts自动加载的一个配置文件列表 WcHgBbNe
K$ M^gh0
struts.configuration.xml.reload w=^`w:5X
Whether to reload the XML configuration or not u:m]CPz
是否加载xml配置(true,false) jV?
}9L^;
DA2}{
struts.continuations.package A|L 8P
The package containing actions that use Rife continuations Ku\Y'ub
含有actions的完整连续的package名称 usEwm,b)
0Z0:,!
struts.custom.i18n.resources 9cEv&3
Location of additional localization properties files to load ?[)}l9
加载附加的国际化属性文件(不包含.properties后缀) = M]iIWQ@`
nBHnkbKoy
struts.custom.properties ,y+$cM(
Location of additional configuration properties files to load 5aln>1x>hn
加载附加的配置文件的位置 (9<guv
6KVnnK
&v"3*.org@
struts.devMode dbOdq
Whether Struts is in development mode or not VQ0fS!5'
是否为struts开发模式 3GuH857ov
<{2e#Y
struts.dispatcher.parametersWorkaround W?eu!wL#p
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i&vaeP25)
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ynw5-aS3
A |3tI
struts.enable.DynamicMethodInvocation vfl5Mx4
Allows one to disable dynamic method invocation from the URL W-.pmU e2
允许动态方法调用 $KLD2BAL
c%[#~;E
struts.freemarker.manager.classname iJZ/jCI
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :^Fh!br==
org.apache.struts2.views.freemarker.FreemarkerManager接口名 _UT$,0u_i
H(Q.a=&4!p
struts.i18n.encoding `;l?12|X
The encoding to use for localization messages .Wq@gV
国际化信息内码 4'6`Ll|iq
Gg~QAsks
struts.i18n.reload zH>hx5,k'X
Whether the localization messages should automatically be reloaded o$[z],RO
是否国际化信息自动加载 c-g)eV|)S
/;tPNp{!dw
struts.locale hUD7_arKF
The default locale for the Struts application cwm_nQKk
默认的国际化地区信息 ]D@0|
<`jLY)sw
struts.mapper.class j:}D Bk
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _=q!
BW
org.apache.struts2.dispatcher.mapper.ActionMapper接口 *dvDap|8W
u5~Ns&o&N
struts.multipart.maxSize S a4W`
The maximize size of a multipart request (file upload) DhX#E&
multipart请求信息的最大尺寸(文件上传用) 2_ :n
UjOB98Du
struts.multipart.parser >yXN,5d[
The org.apache.struts2.dispatcher.multipart. <H0R&l\
MultiPartRequest parser implementation for a multipart request (file upload) `xz<>g9e
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R(-<BtM!-
5C"QE8R o
Ug:\
struts.multipart.saveDir d/}SAvtt
The directory to use for storing uploaded files ATy*^sc&"
设置存储上传文件的目录夹 {CR 5K9
oW^*l#v
struts.objectFactory `\X+ Ud|
The com.opensymphony.xwork2.ObjectFactory implementation class ltkI}h,e
com.opensymphony.xwork2.ObjectFactory接口(spring) .i^7|o:
Yk42(!
struts.objectFactory.spring.autoWire it>r+%
Whether Spring should autoWire or not MWNPPYww
是否自动绑定Spring oQv3GpO
Dw7vv]+ S
struts.objectFactory.spring.useClassCache p~ .8\bI=
Whether Spring should use its class cache or not v4RlLgdS%
是否spring应该使用自身的cache AW#<i_Ybf
.>wv\i[p
struts.objectTypeDeterminer H'MJ{r0,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 66#"
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6{,HiY
+[J/Zw0{
struts.serve.static.browserCache bln/1iS
If static content served by the Struts filter should set browser caching header properties or not m%"uPv\
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kD) $2I?
# wc \T
struts.serve.static dq IlD!
Whether the Struts filter should serve static content or not JbO ~n
)%x
是否struts过滤器应该提供静态内容 w#N?l!5
M(d6Z2ibh
struts.tag.altSyntax YUQtMf9
Whether to use the alterative syntax for the tags or not LkLN7|
是否可以用替代的语法替代tags SEl#FWR
!;6Jng%
struts.ui.templateDir \([WH!7
The directory containing UI templates =SD\Q!fA
UI templates的目录夹 o$C|J]%
Qp2I[Ioz3
struts.ui.theme "4H8A=
The default UI template theme VD4C::J
默认的UI template主题 D;Gq)]O
+>7$4`Nb2
struts.url.http.port !:LJzROh
The HTTP port used by Struts URLs 1Uf*^WW4
设置http端口 ;eigOU]
pium$4l2#
struts.url.https.port i#X!#vyc
The HTTPS port used by Struts URLs M }0eu(_|
设置https端口 >x3ug]Bu
Px M!U!t
struts.url.includeParams kl1Y] ?z}
The default includeParams method to generate Struts URLs 44\>gI<
在url中产生 默认的includeParams AGYm';z3
`>D9P_Y"jI
7%OKH<i\2<
struts.velocity.configfile aFY_:.o2k`
The Velocity configuration file path O3n_N6| q
velocity配置文件路径 #JA}3]
`\<37E\N}
struts.velocity.contexts XE}H 3/2
List of Velocity context names }<MR`h1
velocity的context列表 +:6Ii9GN
Lt#'W
5j"1z1_&
struts.velocity.manager.classname 6@tvRDeaDW
org.apache.struts2.views.velocity.VelocityManager implementation class 'mdM q=VI
org.apache.struts2.views.velocity.VelocityManager接口名 .BO<
4c~>ci,N?(
struts.velocity.toolboxlocation Bn]K+h\E
The location of the Velocity toolbox 5/m$)wE
velocity工具盒的位置 Uz%Z&K
struts.xslt.nocache $R8w+ Id
Whether or not XSLT templates should not be cached ZX
b}91rzt
是否XSLT模版应该被缓存 j2h[70fWC