aspose file tools*
The moose likes Struts and the fly likes Printable version of jsp/HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Printable version of jsp/HTML" Watch "Printable version of jsp/HTML" New topic
Author

Printable version of jsp/HTML

Vani Bandargal
Ranch Hand

Joined: Oct 06, 2005
Posts: 82
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 ]
Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
You can try Print style sheets, so that you could control the way the elements get printed.

Hope this Helps.

Regards,
Arul.
 
 
subject: Printable version of jsp/HTML