This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Applets and the fly likes Applet won't update database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Applet won Watch "Applet won New topic
Author

Applet won't update database

David M Fairchild
Greenhorn

Joined: Apr 08, 2005
Posts: 18
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
Ranch Hand

Joined: Aug 10, 2005
Posts: 681
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
Ranch Hand

Joined: Aug 10, 2005
Posts: 681
Also can you see the request that the server gets from both sources: manual and via the applet? Are there any differences?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Applet won't update database
 
Similar Threads
Can I make an applet act as a server
How to pass data from a Java Applet
Pushing response back to a client
How to refer database from Applet
Design problem web, application