This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get DataSource Object of Action class ?
 
Similar Threads
Multiple Datasource design [user base]
How to use Datasource in JSP??
Struts 1.1 database connection exception
how to initiate hashtable and linklist
DataSource