File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Accessing DataSource From Struts
Joined: Feb 10, 2001
Mar 14, 2005 21:51:00
We have an Application build in
, but therez an odd
dose some database activity, and I need to access the datasource which I am using for entire application thru Action class as
DataSource = this.getDataSource(request,"dsname");
kindly help me out in this.
One way I know is making Instance of ActionClass in my
and calling this method, but dough if its a efficient way to do so.
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Joined: Feb 05, 2001
Mar 15, 2005 09:08:00
Moving this to the Struts forum.
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Accessing DataSource From Struts
Where to define datasource for servlets?
DataSource in stand alone application
mysql connectivity failure
[Urgent] How to configure Datasource externally
How do i get a connection object in a java class ; am using struts datasource
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014