This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes JDBC Error with servlets - please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

JDBC Error with servlets - please help

Scott Layne
Greenhorn

Joined: Jun 19, 2002
Posts: 3
sorry about the dual post, wasn't sure where the best place would be...
I am having a problem that I simply cannot figure out.
I have a MS Access database defined through ODBC, and when I connect through an appliation, no problem. but when my servlet tries to connect to the same db, it can not do it, and it throws an exception.
Here is the offending code:

I turned on JDBC logging, and this is the output.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Please don't cross post
Anyone who wants to help with this problem can see it here in the Servlet forum.
Dave.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

whoops, dodn't close it...
 
wood burning stoves
 
subject: JDBC Error with servlets - please help