Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Maintain Page state if one servlet is calling another servlet  RSS feed

Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on webbased application using Tomcat, application flow is -
There is one jsp A.jsp from where we select some fields and submit it which calls; is used to display information inside popup screen using out.println().
My Problem is - popup screen have one link to open pdf file and clicking that link calls that opens a pdf file, have following header info -

Now problem is creating here --- why back arrow given on browser is refershing A.jsp, i dont' want to reset my info. I just need the page state as it is for which i am creating the pdf. why its reset all info on back; is it because link is opened from popup screen not from A.jsp? how i can get the same state without making any flow change menas print link always be on pop up screen.

Thanks in Advance !!!
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!