> -----Original Message-----
> From: David Durham [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 16, 2004 2:01 PM
> To: Struts Users Mailing List
> Subject: Re: connection pooling
> 
> 
> Saurabh Bhatla wrote:
> 
> > Now i want to
> > know how to initialize the connection pool object and how 
> to pass that
> > object to all Action classes.
> 
> I think you want to look at a piece of technology called JNDI.
> 
> Here's a link to Tomcat's JNDI Datasource How-To:
> 
>     
>http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html

And doing that with struts:
http://struts.apache.org/userGuide/configuration.html#data-source_config
Alhtough, I would suggest maybe using a DAO layer for convienence later on down the 
road when things change :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to