This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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: 13058
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