• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Printable version of jsp/HTML

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can try Print style sheets, so that you could control the way the elements get printed.

Hope this Helps.

Regards,
Arul.
 
reply
    Bookmark Topic Watch Topic
  • New Topic