This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes  how to get DataSource Object of Action class ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to get DataSource Object of Action class ?
 
Similar Threads
Struts 1.1 database connection exception
how to initiate hashtable and linklist
How to use Datasource in JSP??
DataSource
Multiple Datasource design [user base]