• Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC and servlets ..server is tomcat  RSS feed

vandu matcha
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!