This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBC and servlets ..server is tomcat" Watch "JDBC and servlets ..server is tomcat" New topic
Author

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 error....in the servlet...i have set the classpath..unable to find the solution...actually the problem is ...as i am giving Class.forName(..)..it is giving unreported exception java.lang.ClassNotFoundException....and for .Connection con=DriverManager.getConnection(....);..it is giving..unreported java.sql.SQLException....unable to solve..i am novoice to this topic of servlets and jdbc..please help
Ben Souther
Sheriff

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
 
GeeCON Prague 2014
 
subject: JDBC and servlets ..server is tomcat