• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC-ODBC Applet

 
arun iyer
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have made a quiz applet. I am trying to use the jdbc - odbc bridge to connect to my sql server
I get the ClassNotFoundException at Class.forname("jdbc dbc:hrms"); in Internet Explorer while it is working in Netscape.

I would be highly grateful, if u could help me write the Quiz results to my databse.
Arun Iyer
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Internet Explorer has a different classpath than Netscape. In any event, I don't think that the jdbc classes are part of either one's standard classes, so doing direct jdbc from the user's web browser requires a lot of finagling. It's generally much cleaner to pass the data to a JSP or servlet and let the server do the actual talking to the database. Plus, you don't get the firewall problems that way.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic