struts2的struts.properties配置文件详解 j^7A}fz
hrm<!uKn
struts.action.extension =ecLzk"+F
The URL extension to use to determine if the request is meant for a Struts action |r*)U(c`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ae2Q^yLA
lYTQg~aPm
struts.configuration X$;&Mdo.
The org.apache.struts2.config.Configuration implementation class |his8\C+x
org.apache.struts2.config.Configuration接口名 B>W8pZu-J
0-uw3U<
struts.configuration.files R8cOb*D
A list of configuration files automatically loaded by Struts TF%Xb>jy[
struts自动加载的一个配置文件列表 c"v75lW-J
6\ yBA_z
struts.configuration.xml.reload a}uYv:
Whether to reload the XML configuration or not hLbWqF
是否加载xml配置(true,false) (Vr%4Z8
%@Z;;5 L
struts.continuations.package FpiTQC7d
The package containing actions that use Rife continuations b8e\( Dww
含有actions的完整连续的package名称 u4_QLf@I
3 3|t5Ia
struts.custom.i18n.resources {"+M%%`*#
Location of additional localization properties files to load PJcfiRa'jQ
加载附加的国际化属性文件(不包含.properties后缀) s-_D,$ |
BY.k.]/
struts.custom.properties m`9nDiV
Location of additional configuration properties files to load J*[@M*R;&
加载附加的配置文件的位置 4Wp5[(bg
'L7qf'RV
SIV !8mz
struts.devMode h~m,0nGO
Whether Struts is in development mode or not .07`nIs"
是否为struts开发模式 Z;%uDlcXI
*X(:vET
struts.dispatcher.parametersWorkaround X%+lgm+
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R!%nzL@e&`
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
0_eqO'"
mwo:+^v(
struts.enable.DynamicMethodInvocation !(rAI
Allows one to disable dynamic method invocation from the URL QXZyiJX}
允许动态方法调用 `XhH{*Q"X
qx'0(q2Ii(
struts.freemarker.manager.classname c7jmzo
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >;^/B R=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 a8f#q]TyQ
%\v8FCb
struts.i18n.encoding aknIrblS\
The encoding to use for localization messages &yvvea]
国际化信息内码 F)(^c
f4h~c
struts.i18n.reload Xva(R<W7d<
Whether the localization messages should automatically be reloaded 755,=U8'wi
是否国际化信息自动加载 _"ciHYHBQ
HbegdbTJ
struts.locale Z^:_,aJ?
The default locale for the Struts application Qz,2PO
默认的国际化地区信息 =3.dgtH
$Lr&V~
struts.mapper.class >`\.i,X.D
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `*3A7y
org.apache.struts2.dispatcher.mapper.ActionMapper接口 1EXT^2!D
SO=gG 2E
struts.multipart.maxSize 0&UG=q
The maximize size of a multipart request (file upload) =mO5~~"W+v
multipart请求信息的最大尺寸(文件上传用) z'U.}27&o
]~aj
struts.multipart.parser o]q~sJVk6
The org.apache.struts2.dispatcher.multipart. ,*J@ic7"
MultiPartRequest parser implementation for a multipart request (file upload) Jy)=TJ!y
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A?H#bRAs
`(FjOd
K
?$|tT\SFV
struts.multipart.saveDir Byc;r-Q5V
The directory to use for storing uploaded files 8Yh'/,o=L#
设置存储上传文件的目录夹 6G2~'zqPc~
^OKm (
struts.objectFactory R iLl\S#
The com.opensymphony.xwork2.ObjectFactory implementation class M-nRhso
com.opensymphony.xwork2.ObjectFactory接口(spring) AioW*`[WjA
H?=W]<!W{y
struts.objectFactory.spring.autoWire #<xFO^TB
Whether Spring should autoWire or not \J+a7N8m,
是否自动绑定Spring .dU91> ~Ov
NftnbsTmy
struts.objectFactory.spring.useClassCache ~6f/jCluR%
Whether Spring should use its class cache or not dPEDsG0$a
是否spring应该使用自身的cache l zFiZx
AkQ(V
struts.objectTypeDeterminer s9ix&m
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]`$6=)_X
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U4"^NLAq
G<?RH"RZr
struts.serve.static.browserCache f6Y?),`
If static content served by the Struts filter should set browser caching header properties or not ';3>rv_
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZWCsrV*;
i{fw?))+
struts.serve.static B~I ]3f
Whether the Struts filter should serve static content or not tx5bmF;b)
是否struts过滤器应该提供静态内容 Xex7Lr&
[)I^v3]U
struts.tag.altSyntax U2A-ub>7
Whether to use the alterative syntax for the tags or not \^(#b,k#
是否可以用替代的语法替代tags 0XA\Ag\`G
XZOBK^,5^B
struts.ui.templateDir 8XH;<z<oJ
The directory containing UI templates JP Dxzp
UI templates的目录夹 fz|*Plv
"o--MBq4
struts.ui.theme :$G^TD/n
The default UI template theme %Ik5|\ob?
默认的UI template主题 K>'4^W5d,
\Q#pu;Y*N]
struts.url.http.port vu.ug$T
The HTTP port used by Struts URLs ~~{lIO)&