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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 12761
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to save the data of the applet when focus is lost from it
 
Similar Threads
How to use Request Dispatcher
Reading and Writing files using Java Script
Communication session , servlet applet and back from applet servlet and session
Populating form values with hyperlink clicks
jsp-applet-jsp communication