struts2的struts.properties配置文件详解 Dwp-*QK^G
O&De!Gx
struts.action.extension o+T%n1$+V
The URL extension to use to determine if the request is meant for a Struts action d%='W|i\p&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 | ?])]F
ZpTT9{PT=:
struts.configuration 9H4NvB{
The org.apache.struts2.config.Configuration implementation class C
Nt
org.apache.struts2.config.Configuration接口名 u!WjG@
5 U{}A\q
struts.configuration.files ]M#OS$_O@
A list of configuration files automatically loaded by Struts c$[cDf~
struts自动加载的一个配置文件列表 vpl>
5 %
@z1Yj"^Pm
struts.configuration.xml.reload )"Vd8*e
Whether to reload the XML configuration or not .gK>O2hI
是否加载xml配置(true,false) ?* %JGz_
^saH^kg1"
struts.continuations.package @mB*fl?-
The package containing actions that use Rife continuations 1:r 8p6
含有actions的完整连续的package名称 y.'5*08S0
ZdjmZx%%
struts.custom.i18n.resources Xitsbf=Gg
Location of additional localization properties files to load G`1FD
加载附加的国际化属性文件(不包含.properties后缀) Sx", Zb
eURj'8o),
struts.custom.properties "<y0D!&
Location of additional configuration properties files to load D[ -Gzqh
加载附加的配置文件的位置 >
R5<D'cEN
_:0
i{
" g7
struts.devMode k&h3"
Whether Struts is in development mode or not {BA1C
(
是否为struts开发模式 ev_4!+ko
bdUe,2Yi n
struts.dispatcher.parametersWorkaround ?i8a)!U
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i)pAFv<$,
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R;68C6 4
hH|moj]
struts.enable.DynamicMethodInvocation #M5R>&?Jqz
Allows one to disable dynamic method invocation from the URL @!UuK;
允许动态方法调用 );zLy?n
a*4l!-7
struts.freemarker.manager.classname ~jDG&L
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [h
GS*
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^+m6lsuA
7;T6hKWV[
struts.i18n.encoding L(bYG0ZI5C
The encoding to use for localization messages G(~
s(r{%I
国际化信息内码 cU^Z=B
I#m0n%-[
struts.i18n.reload nYc8+5CcK'
Whether the localization messages should automatically be reloaded zFn-VEJ)
是否国际化信息自动加载 6ofi8(n[
NQx`u"=
struts.locale O_u2V'jy9
The default locale for the Struts application <lBY
默认的国际化地区信息 };z[x2l^
Q,.[y"m9Y.
struts.mapper.class 5w#
Ceg9
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sfv{z!mo
org.apache.struts2.dispatcher.mapper.ActionMapper接口 2Bf]#l{z
rLU+-_
struts.multipart.maxSize f""+jc1
The maximize size of a multipart request (file upload) U;l!.mze
multipart请求信息的最大尺寸(文件上传用) ;ORT#7CU
iAOm[=W
struts.multipart.parser tocZO
The org.apache.struts2.dispatcher.multipart. sSM^net0
MultiPartRequest parser implementation for a multipart request (file upload) |V 3AA
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1${lHVx]
Vl0
J!JK_
-/k;VT|
struts.multipart.saveDir ]CFh0N|(L
The directory to use for storing uploaded files <)vjoRv
设置存储上传文件的目录夹 +EtL+Y(U
#fy#G}c
struts.objectFactory 6WN1DW
The com.opensymphony.xwork2.ObjectFactory implementation class YL$#6d
com.opensymphony.xwork2.ObjectFactory接口(spring) Fjc4[ C
eq|G\XJ
struts.objectFactory.spring.autoWire ?W#>9WQi
Whether Spring should autoWire or not 7~2/NU?
是否自动绑定Spring zPC&p{S>
x2^Yvgc-
struts.objectFactory.spring.useClassCache ^X&n-ui
Whether Spring should use its class cache or not
)N8[@
是否spring应该使用自身的cache C1/<t)^
eC9nOwp]xH
struts.objectTypeDeterminer !OVTs3}
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !zd]6YL$
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1nt VM+
D2U")g}U
struts.serve.static.browserCache BRTM]tRZ
If static content served by the Struts filter should set browser caching header properties or not 9{{|P=
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cZ!%#Az
@+9x8*~S'
struts.serve.static YkPc&
Whether the Struts filter should serve static content or not Ac0^`
是否struts过滤器应该提供静态内容 i|@lUXBp
Qj?qWVapA
struts.tag.altSyntax $*%ipD}f
Whether to use the alterative syntax for the tags or not Yt 9{:+[RK
是否可以用替代的语法替代tags }\9elVt'2
1YGj^7V)|Z
struts.ui.templateDir j2UiZLuV
The directory containing UI templates 8IAf9
UI templates的目录夹 R3HfE*;Z
^`W8>czi
struts.ui.theme +w(sDH~kd
The default UI template theme bJ[{[|yEd
默认的UI template主题 OZ/P@`kN.f
A,tmy',d"
struts.url.http.port cGevFlnh
The HTTP port used by Struts URLs QbF!V%+a's
设置http端口 i|z=q
DrG9Kky{
struts.url.https.port
h:[8$]
The HTTPS port used by Struts URLs %s+H& vfQs
设置https端口 igoXMsifT+
;"*\R5a
struts.url.includeParams MH"{N
"|
The default includeParams method to generate Struts URLs O4Wn+$AN
在url中产生 默认的includeParams (8[et m
Cr!}qZq
CXb-{|I}d
struts.velocity.configfile 4K_ fN
The Velocity configuration file path %n^jho5
velocity配置文件路径 ]BY^.!Y
l3d^V&Sk
struts.velocity.contexts .|[5*-
List of Velocity context names X+'z@xpj
velocity的context列表 S%h[e[[fST
U"1z"PcV
.L,xqd[zC
struts.velocity.manager.classname WUVRwJ 5
org.apache.struts2.views.velocity.VelocityManager implementation class R]0p L
org.apache.struts2.views.velocity.VelocityManager接口名 i.eu$~F
-~nU&$ccL
struts.velocity.toolboxlocation C*;g!~{
The location of the Velocity toolbox .
6wyu7oK
velocity工具盒的位置 P1<Y7+n
struts.xslt.nocache a(+.rf;
Whether or not XSLT templates should not be cached P/BWFN1
是否XSLT模版应该被缓存 PT9,R^2T!