Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets+JDBC

 
Shaunak Desai
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi everybody,
I have created JDBC in applets. I am using Personal Web Server to access these applets on remote machines on a LAN.I have two problems...
The first problem is that when I try to open the swing applet in an HTML page, it asks to download a plug-in from sun microsystems.Now I have already converted the swing applets using HTMLConverter. I don't understand why it asks to download plug-in now, when I try to open it on another machine.
The second problem is that when opening from other machine, when I try to interact with database thru' the applet, my html page shows the illegal operation...message and closes.
Is it a problem related to policytool or something? My applets are not able to connect with database when viewed in browser on some other PC.
 
karan, chopra
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi shaunak,
i did the same thing(ie converted the html file using a converter) but as u said when i opened the file in a different PC then it did ask me to download the latest plugin,this is because the converter converts the html code in such a manner that each time it is loaded in a browser then it would try to get the latest plugin from the sun site.it didnt give any message in ur PC because it downloaded the plugin in the first run.and regarding ur second problem i think wouldnt u be better off if u make a servlet for data extraction and then make the servlet talk to the applet?
hope that helped
regards
karan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic