Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC and servlets ..server is tomcat

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 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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic