struts2的struts.properties配置文件详解 ]wfY<Z
VVcli*
struts.action.extension nW<nOKTnk_
The URL extension to use to determine if the request is meant for a Struts action 1/i1o nu}
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M+%qVwp
KzQFG)q ,
struts.configuration CHq5KB98+
The org.apache.struts2.config.Configuration implementation class 7]ySj<1
org.apache.struts2.config.Configuration接口名 R / ND f`
PHJHW#sv
struts.configuration.files )l/
.<`|
A list of configuration files automatically loaded by Struts ].2t7{64
struts自动加载的一个配置文件列表 j<`3xd'
l]j;0 i
struts.configuration.xml.reload j-VwY/X
Whether to reload the XML configuration or not y#8 W1%{x
是否加载xml配置(true,false) %3AE2"
y4$$*oai&
struts.continuations.package W*DKpJy
The package containing actions that use Rife continuations IP@3R(DS%
含有actions的完整连续的package名称 %*o
wLb:FB2
struts.custom.i18n.resources EUVD)+it
Location of additional localization properties files to load _l1"X ^Aa
加载附加的国际化属性文件(不包含.properties后缀) =F}qT|K
C`.eJF
struts.custom.properties r=SCbv
Location of additional configuration properties files to load 2`j{n\/
加载附加的配置文件的位置 fD3'Ye<R
&[
],rT
|"S#uJW
struts.devMode #XB3Wden2
Whether Struts is in development mode or not A?$-Uqb"
是否为struts开发模式 LI&E.(:
yla-X|>
struts.dispatcher.parametersWorkaround z>iXNwz"?
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic nC!]@lA
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4]$OO'
-84%6p2-
struts.enable.DynamicMethodInvocation {MyI3mvA
Allows one to disable dynamic method invocation from the URL !M`.(sO]
允许动态方法调用 J/:U,01
s6Dkh}:d
struts.freemarker.manager.classname NZa 7[}H
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |)" y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 IR$d?\O3
@YQ*a4`
struts.i18n.encoding "Da-e\yA
The encoding to use for localization messages UNwjx7usD
国际化信息内码 l6 }+,v@#
Ea][:3
struts.i18n.reload Ge=^q.
Whether the localization messages should automatically be reloaded mqHH1}
是否国际化信息自动加载 'DNxc
<|.]$QSi
struts.locale m.
p'LF
The default locale for the Struts application j|`lOH8
默认的国际化地区信息 kX`m(
N$
}9W[7V?
struts.mapper.class K3`!0(
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S.B?l_d^
org.apache.struts2.dispatcher.mapper.ActionMapper接口 _b>{:H&\
q_`j-!
struts.multipart.maxSize 7l/lY-zO
The maximize size of a multipart request (file upload) @ext6cFe3<
multipart请求信息的最大尺寸(文件上传用) 4lpcJ+:o
7FyE?
struts.multipart.parser 9-q> W
The org.apache.struts2.dispatcher.multipart. Ok@`<6v
MultiPartRequest parser implementation for a multipart request (file upload) 2Xk;]-T!
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) zVf79UrK
`-P1Y
J$5G8<d>
struts.multipart.saveDir G4P*U3&p
The directory to use for storing uploaded files C'y2!Q/"
设置存储上传文件的目录夹 dlCiqY:}
}F/w34+;
struts.objectFactory I=
<eCv
The com.opensymphony.xwork2.ObjectFactory implementation class Ayg^<)JWh
com.opensymphony.xwork2.ObjectFactory接口(spring) oQ/T5cOj
@mxaZ5Vv}
struts.objectFactory.spring.autoWire k'N``.
Whether Spring should autoWire or not v<g~EjzCf
是否自动绑定Spring vzbGL ap#
!G[%; d
struts.objectFactory.spring.useClassCache /5"T46jD
Whether Spring should use its class cache or not _F`JFMS
是否spring应该使用自身的cache =Hn--DEMg
cuumQQ
struts.objectTypeDeterminer %Cqp88]
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $oM>?h_=
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mI DVN
\xl$z*zI
struts.serve.static.browserCache {r;_nMfH|[
If static content served by the Struts filter should set browser caching header properties or not l4U*Lv>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tu$rVwgM
IvkYM`%
struts.serve.static ENr#3+m$;
Whether the Struts filter should serve static content or not OaY89ko
是否struts过滤器应该提供静态内容 +^esL9RG:
p U !:
struts.tag.altSyntax [a!AKkj
Whether to use the alterative syntax for the tags or not .81Y/Gad_
是否可以用替代的语法替代tags |94o P>d
Pp8G2|bz
struts.ui.templateDir rFzj\%xa[
The directory containing UI templates (tVT&eO
UI templates的目录夹 'NCqI
F@q9UlfB-
struts.ui.theme )$i,e`T
The default UI template theme 3T0-RP*
默认的UI template主题 ilJ`_QN
9DM,,h<`
struts.url.http.port =M*pym]QSY
The HTTP port used by Struts URLs FNF `Z
设置http端口 >K,QP<B
WrDFbcH
struts.url.https.port 1 /{~t[*.
The HTTPS port used by Struts URLs L8h!%56s
设置https端口 EKF4]
E' `;
struts.url.includeParams (2>q
The default includeParams method to generate Struts URLs j|Vl\Z&o)
在url中产生 默认的includeParams 1?|"33\03R
B?-w<":!
1~~GF_l?
struts.velocity.configfile d
([~o
The Velocity configuration file path 3fQ`}OcNr
velocity配置文件路径 G93V=Bk=
^Ld5<
struts.velocity.contexts GfK%UZ$C
List of Velocity context names y6d!?M(0U
velocity的context列表 :X'B K4EN
uQdy
^VMCs/g6
struts.velocity.manager.classname `3VI9GmQ
org.apache.struts2.views.velocity.VelocityManager implementation class wH@S$WT
org.apache.struts2.views.velocity.VelocityManager接口名 F5cNF5
ey[Z<i1
struts.velocity.toolboxlocation KyVzf(^
The location of the Velocity toolbox 8[X"XThj
velocity工具盒的位置 D-C]0Jf3
struts.xslt.nocache }1k?t h
Whether or not XSLT templates should not be cached ;-py h(
是否XSLT模版应该被缓存 "k @[7
7