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]>

Reply via email to