• 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
Bartender
Posts: 18469
61
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!