struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: Datasource and Struts
Date Wed, 28 May 2003 13:41:56 GMT
Please post this question to the struts-user mailing list.

David

>
>Hi,
>
>I am new to Struts so please bear with me.
>
>I am using Websphere and has a datasource "ds1" configured in the app
>server.
>Usually the jndi lookup is done only once in an application since its 
>costly
>(like in an init menthod of a servlet).
>
>Struts help talk about setting up a "BasicDataSource" in the config file.
>
>My question: How do I use the Datasource I set up with the app server and
>where do I do the JNDI lookup (like can I do it somehow in the init method
>of the ActionServlet)?
>
>Thanks
>Jay
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message