You can look at the Struts source to see how it does it.
David
From: Kwon Yu <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: How to configure Datasource externally
Dat
id
>
>
>
>
>
>
>> From: Kwon Yu <[EMAIL PROTECTED]>
>> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Subject: How to configure Datasource externally
>> Date: Mon, 04 Nov 2002 09:3
You can create a DataSource in a plugin or the ActionServlet and store it in
the ServletContext for later retrieval.
David
From: Kwon Yu <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: How to con
Hello...everyone
Does anyone know how to configure datasource externally like using a class?
In Struts, I use struts-config.xml file to configure datasource.
However, how do I configure datasource from a class and make it available
when web application start.
Thanks in advance...
--
To
4 matches
Mail list logo