• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Maintain Page state if one servlet is calling another servlet

 
Greenhorn
Posts: 10
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 myServlet.java; MyServlet.java 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 PdfServlet.java that opens a pdf file, pdfServlet.java 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 !!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic