This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes JDBC and servlets ..server is tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBC and servlets ..server is tomcat" Watch "JDBC and servlets ..server is tomcat" New topic

JDBC and servlets ..server is tomcat

vandu matcha
Ranch Hand

Joined: Dec 28, 2005
Posts: 57
i have a problem with my servlet while connecting to JDBC...i am using jdeveloper10g..actually in the logs ..i found oracle.jdbc.driver.OracleDriver the servlet...i have set the classpath..unable to find the solution...actually the problem is i am giving Class.forName(..) is giving unreported exception java.lang.ClassNotFoundException....and for .Connection con=DriverManager.getConnection(....); is giving..unreported java.sql.SQLException....unable to solve..i am novoice to this topic of servlets and jdbc..please help
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Moving to the Apache Tomcat forum

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
wood burning stoves
subject: JDBC and servlets ..server is tomcat
Similar Threads
Getting SQLException and NullPointerException while trying to access DB
Cannot retrieve mapping for action /UserRegistration
oracle. jdbc. driver. OracleDriver problem
can servlet be referenced without mapping in DD like JSPs?
help needed.....