This week's book giveaway is in the Reactive Progamming forum. We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line! See this thread for details.
I think you will be having in hand the content which you would be displaying in the HTML page. Hence, what can be done is that instead of forwarding to a html page, you can generate a PDF document using iText, put the data in that PDF and then forward to that PDF. By using JSP, we can set the content-type to text/pdf, which will pick the PDF you have generated and display it in the browser window.
By going through this approach, you can keep your client happy by displaying the content in a browser, as well having it in a PDF format. [ October 22, 2004: Message edited by: Hemanth Pallavajula ]
Cheers,<br />Hemanth...<br />(When opportunity doesn't knock, build a door.)
Wink, wink, nudge, nudge, say no more, it's a tiny ad: