Re: Accessing struts datasource outside action servlet

2003-02-05 Thread David Graham
You can store the DataSource in JNDI. An easier way is to configure some kind of service layer with the datasource. David From: "Dinesh Sampangi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subjec

Accessing struts datasource outside action servlet

2003-02-05 Thread Dinesh Sampangi
Hi All, How can i access the datasource outside the action class. suppose i need a connection in a bean/other class where i need some pre population of data from the database.. any suggestion woul be a gr8 help. rgds, Dinesh