Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet won't update database  RSS feed

 
David M Fairchild
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a nifty applet that gets it's data from a database via an ASP on the web server the Applet is launched from. I have no problem recieving data, but when I try to update the data by sending a URL string to the web server/ASP file it fails.

If I just paste the URL from the Java Console to the address window of a browser (IE 6.0) it works fine, updates the database as expected.

Does anyone know of a reason the Applet won't do the same?
 
Norm Radder
Rancher
Posts: 1772
26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any error messages in the Java console of the browser when the applet fails?
Copy and paste the contents of the console here if you have further questions.
 
Norm Radder
Rancher
Posts: 1772
26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also can you see the request that the server gets from both sources: manual and via the applet? Are there any differences?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!