• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JDBC-ODBC Applet

 
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
 
Saloon Keeper
Posts: 22484
151
Android Eclipse IDE Tomcat Server Redhat Java 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.
 
Straws are for suckers. Now suck on this tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic