wood burning stoves 2.0*
The moose likes Servlets and the fly likes Is it possible to save the data of the applet when focus is lost  from it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Is it possible to save the data of the applet when focus is lost  from it" Watch "Is it possible to save the data of the applet when focus is lost  from it" New topic
Author

Is it possible to save the data of the applet when focus is lost from it

Anubhuti Bhargava
Greenhorn

Joined: May 11, 2001
Posts: 9
hello ,
I am showing my applet in a jsp page ,
jsp page contains some hyper links and applet .
when any hyper link is clicked it's respective data is shown , in applet , but when i click the other link i want that the data from the applet (which can be change) first get stores and then the data of the recent clicked link should be showen can i do that.??
regards
Anubhuti Bhargava
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12791
    
    5
I think you will have to use JavaScript to detect the lost focus event and save the data. An applet does not have the necessary close connection with the browser events.
Bill
 
GeeCON Prague 2014
 
subject: Is it possible to save the data of the applet when focus is lost from it