This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applets+JDBC

 
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.
 
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
 
    Bookmark Topic Watch Topic
  • New Topic