This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12676
    
    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


Java Resources at www.wbrogden.com
 
 
subject: Is it possible to save the data of the applet when focus is lost from it
 
Similar Threads
jsp-applet-jsp communication
Reading and Writing files using Java Script
How to use Request Dispatcher
Populating form values with hyperlink clicks
Communication session , servlet applet and back from applet servlet and session