It's not a secret anymore!
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
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
I agree. Here's the link:
subject: JDBC and servlets ..server is tomcat
It's not a secret anymore!