struts2的struts.properties配置文件详解 |qs8(
5z0
/ <C{$Gu
struts.action.extension <?Ln`,Duk
The URL extension to use to determine if the request is meant for a Struts action kz_gR;"(Z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~k"r
%8O1sF
struts.configuration /
f5q9sp8
The org.apache.struts2.config.Configuration implementation class +$}3=n34)
org.apache.struts2.config.Configuration接口名 R?t_tmKXC!
fV#,<JG
struts.configuration.files tgyW:<iv
A list of configuration files automatically loaded by Struts pKtN$Fd
struts自动加载的一个配置文件列表 '\O[j*h^.
)-\C{>
struts.configuration.xml.reload 8TBv~Qu
Whether to reload the XML configuration or not :
E`78
是否加载xml配置(true,false) $fCKK&Wy
%}IrZrh
struts.continuations.package u{- @,-{
The package containing actions that use Rife continuations {j6$'v)0
含有actions的完整连续的package名称 2U|"]tpM&
-aq3Lqi
struts.custom.i18n.resources "4IrW6B$9
Location of additional localization properties files to load 1oc@]0n
加载附加的国际化属性文件(不包含.properties后缀) %9
3R/bx
"XQ3mi`y
struts.custom.properties <z#.J]
Location of additional configuration properties files to load #iKPp0`K*
加载附加的配置文件的位置 /3#h]5Y"T
.mHVJ5^:4\
sYhHh$mwA
struts.devMode c/7}5#Rs
Whether Struts is in development mode or not AGl#f\_^
是否为struts开发模式 `_k_}9Fr
{,!!jeOO
struts.dispatcher.parametersWorkaround p()q)P
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;Fo7 -kK
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) YqmsL<
J&Db-
struts.enable.DynamicMethodInvocation O>N/6Z
Allows one to disable dynamic method invocation from the URL IgjPy5k
允许动态方法调用 e*}*3kw)T
G4U0|^(h
struts.freemarker.manager.classname /d+v4GIB
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W__Y^\~
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ee_?aG
e&
k`#E#1niN
struts.i18n.encoding 'qUM38 s
The encoding to use for localization messages ^W(ue]j}o
国际化信息内码 nuDu
u -)ED
struts.i18n.reload }3,
4B-8!
Whether the localization messages should automatically be reloaded 4X",:B}
是否国际化信息自动加载 TMD\=8Na
;HBKOe_3
struts.locale nrA 4N1
The default locale for the Struts application OLtXk
默认的国际化地区信息 E,F^!4 rJ$
yZ!~m3Q
struts.mapper.class E2 FnC}#W
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class w_V A:]j4
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "Bv V89
}Ml BmD
struts.multipart.maxSize Zn0a)VH%
The maximize size of a multipart request (file upload) ;jaugKf
multipart请求信息的最大尺寸(文件上传用) IhBQ1,&J
t^Lb}A#$4
struts.multipart.parser iITMBS`}
The org.apache.struts2.dispatcher.multipart. n&o"RE 0~0
MultiPartRequest parser implementation for a multipart request (file upload) tK@7t0
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :Tv>)N
qO38vY){
pacD7'1{
struts.multipart.saveDir Nmd{C(^o
The directory to use for storing uploaded files @ ;@~=w
设置存储上传文件的目录夹 }A]eC
FZ}^)u}o
struts.objectFactory j^;P=L0=
The com.opensymphony.xwork2.ObjectFactory implementation class =L@CZ"
com.opensymphony.xwork2.ObjectFactory接口(spring) CJh,-w{wJ"
`k*;%}X\
struts.objectFactory.spring.autoWire t9MCT$U
Whether Spring should autoWire or not (,t[`z
是否自动绑定Spring */JYP +
Z m%,L$F*L
struts.objectFactory.spring.useClassCache D 5oYcGc
Whether Spring should use its class cache or not Cg?Mk6 i
是否spring应该使用自身的cache Aqmw#X
{ `Z~T&}~T
struts.objectTypeDeterminer 7.Z-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class b{,v?7^4
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 v&(=^A\eN
\.oJ/++
struts.serve.static.browserCache _yJz:pa
If static content served by the Struts filter should set browser caching header properties or not bM5V=b_H
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 l`l6Y>c*]
,Y6]x^W
struts.serve.static lyFlJm i,r
Whether the Struts filter should serve static content or not SPRTJdaC9
是否struts过滤器应该提供静态内容 uYWgNNxdmo
E3Y0@r
struts.tag.altSyntax -
AgD
Whether to use the alterative syntax for the tags or not ?>{u@tYL
是否可以用替代的语法替代tags -BI!ZsC'
J=78p#XUg
struts.ui.templateDir 6M`gy|"(~
The directory containing UI templates NOwd'iU
UI templates的目录夹 =n,1*
P
qC#[0Qy
struts.ui.theme ^`iz%^
The default UI template theme DnJ `]r
默认的UI template主题 WEX7=^k9
3M+rFB}tS
struts.url.http.port 0{%@"Fb0O
The HTTP port used by Struts URLs !4D?X\~"%
设置http端口 ?wlRHVZ
AZ4?N.X?
struts.url.https.port W|Sab$h
The HTTPS port used by Struts URLs P*?| E@;s`
设置https端口 6;:D!},'c
l1lYb;C
struts.url.includeParams eGg6wd
The default includeParams method to generate Struts URLs \-]tvgA~&
在url中产生 默认的includeParams a%U#PF6
sRZ<c
xRgdU+,Mj
struts.velocity.configfile
s@"|o3BX
The Velocity configuration file path 8rS;}Bt
velocity配置文件路径 F)X`CG ;t
41d+z>a]
struts.velocity.contexts >g>r_0.
List of Velocity context names QtG6v<A
velocity的context列表 6lg]5d2CD
(pv}>1
cf$
hIB)Oi
struts.velocity.manager.classname /;Hqv`X7
org.apache.struts2.views.velocity.VelocityManager implementation class @ :PMb Ub
org.apache.struts2.views.velocity.VelocityManager接口名 gsEcvkj*
'"\n,3h
struts.velocity.toolboxlocation hx;kNcPbI
The location of the Velocity toolbox {V(~
velocity工具盒的位置 KWjhkRK4]
struts.xslt.nocache G%l')e)9Gq
Whether or not XSLT templates should not be cached (!5Pl`:j"
是否XSLT模版应该被缓存 sT!?nn3O`