Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reloading page from embedded applet disables session  RSS feed

Sam Seaver
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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("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?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!