Yep, this is container dependant. Moving to OT thread... Dave
>From: Eddie Bush <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: Re: How to use datasource and db connection pooling in struts? >Date: Tue, 15 Oct 2002 10:29:28 -0500 > >For that one you need to play RTFM with your server docs. It should be >possible, but the way you do it would be container-dependant. Tomcat will >place a reference into JNDI for you - I assume (dangerous as it is) other >will too. If you are using a different server than Tomcat, and it doesn't >allow you to specify a data-source in server.xml, you could always >initialize a JNDI data-source in a start-up servlet -- or in a struts >plugin. You could also use a singleton pattern. > >[EMAIL PROTECTED] wrote: > >>You were too fast for me ... >> >>Anyway, is it possible to define datasources for webapps NOT using >>struts except for using server.xml? >> >>Stef. >> >-- >Eddie Bush > > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>