This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reloading page from embedded applet disables session
 
Similar Threads
problem in applet-servlet communication
Prevent timeout on parent jsp where applet resides
jsp-applet-jsp communication
Basic concept in Applet-Servlet communication ?
Insert data into databse without page reload