Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issues w/the PDFs and Back Buttons

 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm file streaming my PDF files to the web, and all is good.... They are being streamed through a servlet. An example might be something like this for a link
http://localhost:8080/ServletStreamer?pageToStream=myPDF.pdf
The code opens up the PDF in the same page as the JSP page. It does NOT open a new browser. So this makes it so I have to hit the back button. By the way, this is the way the client wants it to happen. They do NOT want another browser to open. Anyway... so when I do hit the back button I get an error. However on other parts of my site this does not occur and everything works fine. Any ideas.. suggestions or direction to look.
Some added info after looking this over. I can go into the site farther and then come back to this and the back button then works. I think it has something to do w/the servlet context. If someone could fill me in on this and what it might be.. that'd be terrific!
Thanks so much!
Dale
[ September 12, 2002: Message edited by: Dale DeMott ]
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's try moving this to Servlets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic