my dog learned polymorphism*
The moose likes JSP and the fly likes Reloading page from embedded applet disables session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Reloading page from embedded applet disables session" Watch "Reloading page from embedded applet disables session" New topic
Author

Reloading page from embedded applet disables session

Sam Seaver
Greenhorn

Joined: Nov 10, 2003
Posts: 4
Dear all,
I have an embedded applet that does a lot of funky stuff before reloading the very page it resides in:
getAppletContext().showDocument(new URL(www.same-page.com?id="longnumber"));
This disables the applet, and executes some other JSP code, including changing some session parameters. I want to be able to press the back button to restart the applet, albeit WITH the changes in the session, but it doesnt work.
Am I right in thinking that by calling the new URL from the applet, I'm actually starting a new session, and pressing 'back' goes back to the old one?
Whats happening?
thanks
Sam
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reloading page from embedded applet disables session
 
Similar Threads
jsp-applet-jsp communication
Basic concept in Applet-Servlet communication ?
problem in applet-servlet communication
Insert data into databse without page reload
Prevent timeout on parent jsp where applet resides