struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: [LISTEN UP] Mailing List Usage
Date Fri, 30 Aug 2002 17:25:34 GMT


On Fri, 30 Aug 2002, Brian Hickey wrote:

>
> To wit: "Do/did all versions of Struts support multiple datasources?"
>
>         "If so, why can I not get ActionServlet.addDataSource to do anything
> other than overwrite the existing GenericDataSource properties?"
>

You have to specify the "key" property on the <data-source> element to
define what servlet context attribute key is used to store the additional
data sources.  Otherwise, they just override the default one.

Craig


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message