Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
I had written a program to retrive records from SQL server using jdbc . it works fine in appletviewer but not in IE 5.0 and above it works well in ie4.0,
can u help me to make it run on IE5.0 and above. i am not using swings
 
Nithya Krishnan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Sorry this is not an answer to your question. But I am stuck on getting the data and displaying in an applet.First I had used Class.forName(jdbc dbc:jdbcodbcDriver);
Then I got the info that the bridge driver does not work with applets and that we have to use a type 4 Driver.
But still I do not know exactly what we have to write in Class.forName() and DriverManager.getConnection().
Since you had said you are able to display data from sql server in an applet, I took the liberty to ask this doubt.Looking forward to your reply.
Thanking you in advance
Nithya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic