We need to add print functionality for the every page that we are developing in Struts environment. I am looking for some generic solution where a printable version of the page(Preferably a PDF) will be generated based on elements in Jsp. What I mean is, let's say I change my Jsp to add one more element(textbox,dropdown), I want my print version of Jsp to automatically take care of the new element.
I do not have any problem producing some printable version of a form from the rendered html if at all there is a way to accomplish the same task much easier.
All I need is to be able to have some generic solution for a printable version of every page we develop
Please advice me the best approach.
Thank you very much for all your advice [ December 28, 2006: Message edited by: Vani D Bandargal ]
posted 9 years ago
You can try Print style sheets, so that you could control the way the elements get printed.