Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Return a pdf and refresh the calling page

 
Odair Brentam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, how can I return a pdf in a response and at the same time refresh the page that contains the link that was clicked to generate the pdf?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi "Brentam",
Welcome to the ranch. Your name does not fit the Ranch's Naming Policy. Please read it, and change your name accordingly. Thank you
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, how can I return a pdf in a response and at the same time refresh the page that contains the link that was clicked to generate the pdf?


One request can only return one response so this is not really a servlet problem. You will need to do something on the browser side to cause this sequence of events. See the Javascript forum.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic