Skip to main content

Reload applet from server

1 reply [Last post]
Joined: 2008-12-26

I have an applet '' which takes an data.xml file(exists on server), the applet is embedded on a web page. A button is also provided on the web page. When the user clicks on that button the server updates the data.xml file(on the server), now I need to reload the data.xml file as input to the applet. so i decided to refresh the page so that the applet gets reloaded but the applet does not process the new data.xml file. How should I reload the applet on the page with new data.xml?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2009-06-08

In my opinion jou have to reload the data.xml in the start() method of the applet. The start() method is called every time you revisite the webpage.