struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject Re: About Datasource
Date Mon, 30 Sep 2002 13:30:56 GMT
You can define multiple datasources in struts-config.xml by having mulitple 
"datasource" elements inside the "datasources" element.  You need to give 
each datasource a unique name (or key) so that you can retrieve them from 
the ServletContext to use them.  See the struts dtd for the syntax of the 
datasource element.


>From: "Kalaiselvan" <>
>Reply-To: "Struts Users Mailing List" <>
>To: "Struts Users Mailing List" <>
>Subject: About Datasource
>Date: Mon, 30 Sep 2002 14:48:18 +0530
>Hii All,
>         Any one know how to get multiple Datasource from Struts.
>Because i think in Struts-config.xml, we are able to specify only one
>         Also I got an error when I configure my datasources in tomcat's
>sever.xml <context ></context> I couldnt able to get that datasource name

>my Strtus's application.But my ordinary application can able to ge the
>Datasources from server.xml. Why this is happend???
>Thanx in Advance

Send and receive Hotmail on your mobile device:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message