struts2的struts.properties配置文件详解 c2g[w;0"
[m:cO6DM,
struts.action.extension _1gNU]"
The URL extension to use to determine if the request is meant for a Struts action WMtFXkf6"
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C:Rs~@tl
I20~bW
struts.configuration 1M??@@X
The org.apache.struts2.config.Configuration implementation class G)<B7-72;
org.apache.struts2.config.Configuration接口名 )4uWB2ZRoi
h7E?7nR
struts.configuration.files SnFyK5
A list of configuration files automatically loaded by Struts ck]I?
struts自动加载的一个配置文件列表 C%yH}T\s
As)?~dV
struts.configuration.xml.reload ,byc!P
Whether to reload the XML configuration or not <<d #
是否加载xml配置(true,false) A Qjv?
4)T
R5=J :o
struts.continuations.package yP$esDP
The package containing actions that use Rife continuations 3'.3RKV
含有actions的完整连续的package名称 R&W%E%uj
bDWLHdu
a
struts.custom.i18n.resources G]aey>)
Location of additional localization properties files to load ~Re4zU
加载附加的国际化属性文件(不包含.properties后缀) Fc`IRPW<
jq)Bj#'7
struts.custom.properties n+=qT$w)
Location of additional configuration properties files to load $;Fx Zkp
加载附加的配置文件的位置 %W D^0U|
$5 G(_
Iz+%wAZ|B6
struts.devMode ^oPFLez56
Whether Struts is in development mode or not _=I1
是否为struts开发模式 'hr_g* i
n)5t!
struts.dispatcher.parametersWorkaround apm%\dN
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic m^L !_~
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 72~L ?
ZskX!{
struts.enable.DynamicMethodInvocation Ne<S_u2nT
Allows one to disable dynamic method invocation from the URL ~2rQ80_
允许动态方法调用 K9xvog
F?2UHcs
struts.freemarker.manager.classname 0a:oC(Ak
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `:3nF'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?X|q
{ax]t-ZwJ5
struts.i18n.encoding r*b+kSh
The encoding to use for localization messages Fvk=6$d2
国际化信息内码 %|H]T]s
O
MQ?*^eA
struts.i18n.reload )=GPhC/sw
Whether the localization messages should automatically be reloaded #^VZJ:2=|
是否国际化信息自动加载 @*vVc`;
zl8M<z1`1
struts.locale i=<;$+tW
The default locale for the Struts application cu>(;=
默认的国际化地区信息 }6a}8EyFP
)@DDs(q=i
struts.mapper.class =!SV;^-q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5;KJ0N*-
org.apache.struts2.dispatcher.mapper.ActionMapper接口 -51LF=(!L
NL:-3W7vf
struts.multipart.maxSize e4=FO;%
The maximize size of a multipart request (file upload) xDw~n (*
multipart请求信息的最大尺寸(文件上传用) m BvO<?ec
/Yi4j,8!|
struts.multipart.parser |1CX?8)b=
The org.apache.struts2.dispatcher.multipart. nyPeN?-
MultiPartRequest parser implementation for a multipart request (file upload) rGNa[1{kRs
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0e0)1;t\
H'#06zP>5
AcuZ?LYzK
struts.multipart.saveDir ,(q]
$eOZ
The directory to use for storing uploaded files grE(8M
设置存储上传文件的目录夹 4#>Z.sf
?u:`?(\
struts.objectFactory rtAPkXJFM
The com.opensymphony.xwork2.ObjectFactory implementation class >(P(!^[f
com.opensymphony.xwork2.ObjectFactory接口(spring) ~3M4F^
RYCiO,+
struts.objectFactory.spring.autoWire z0LspRaz
Whether Spring should autoWire or not vW eg1
是否自动绑定Spring =cV|o]
j|pTbOgk%
struts.objectFactory.spring.useClassCache AJB
NM
Whether Spring should use its class cache or not sm'_0EUg
是否spring应该使用自身的cache j=T8b
bDl#806P L
struts.objectTypeDeterminer !0lk}Uzkh
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N4,oO H~
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 F<{,W-my `
Az y`4
struts.serve.static.browserCache P]n0L4c
If static content served by the Struts filter should set browser caching header properties or not 0fX` >-X
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8GW+:
(rhlK}
C
struts.serve.static o} QP+
Whether the Struts filter should serve static content or not eZa7brC|
是否struts过滤器应该提供静态内容 V5$Gb6?K
plPPf+\
struts.tag.altSyntax J|{50?S{^
Whether to use the alterative syntax for the tags or not
t* Ct*
是否可以用替代的语法替代tags )rP,+ B?W
\azMF} mb
struts.ui.templateDir D)x^?!
The directory containing UI templates nZnqXclzxn
UI templates的目录夹 TO89;O
hNh!H<}|m8
struts.ui.theme fx+_;y
The default UI template theme nuWQ3w
p[e
默认的UI template主题 VK*_pEV,}
RK-bsf
struts.url.http.port y}oA!<#3
The HTTP port used by Struts URLs g]Y%c73
设置http端口 k%gj
Mm*V;ADF
struts.url.https.port c&wg`1{Hal
The HTTPS port used by Struts URLs }=v4(M `%
设置https端口 ~vt*%GN3
w( SY
struts.url.includeParams A^M]vk%dg
The default includeParams method to generate Struts URLs 'cc8xC
在url中产生 默认的includeParams $"NH{%95}
[err$
x&DqTX?b,
struts.velocity.configfile d #1&"(
The Velocity configuration file path >)C7IQ/
velocity配置文件路径 PcA^ jBgGl
9d|8c >
I
struts.velocity.contexts 8/j|=Q,5
List of Velocity context names R98YGW_
dT
velocity的context列表 ^@8XJ[C,_
@~s5 {4
dakHH@Q
struts.velocity.manager.classname @!oN]0`F;
org.apache.struts2.views.velocity.VelocityManager implementation class i|z=WnF$&
org.apache.struts2.views.velocity.VelocityManager接口名 &)6}.$`
2?%4|@*H?
struts.velocity.toolboxlocation jj2=|)w$3
The location of the Velocity toolbox 'lE{Nj*7
velocity工具盒的位置 ?jfh'mCA
struts.xslt.nocache ,w6?Ap
Whether or not XSLT templates should not be cached X@[5nyILf
是否XSLT模版应该被缓存 iCpm^ XT