aspose file tools*
The moose likes Struts and the fly likes  how to get DataSource Object of Action class ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " how to get DataSource Object of Action class ?" Watch " how to get DataSource Object of Action class ?" New topic
Author

how to get DataSource Object of Action class ?

lalitha prasad
Greenhorn

Joined: Aug 28, 2004
Posts: 16
Can anybody tell me how the method getDataSource() of org.apache.struts.action.Action class returns the DataSource Object?

What I want to know is does it do the lookup(JNDI Context) everytime the method is called.

Thanks,
LALITH
 
 
subject: how to get DataSource Object of Action class ?
 
Similar Threads
DataSource
How to use Datasource in JSP??
Multiple Datasource design [user base]
Struts 1.1 database connection exception
how to initiate hashtable and linklist