• 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

JSP Page to PDF File

 
Greenhorn
Posts: 12
Firefox Browser Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I have one jsp file PrintApplication.jsp which show all the 4 form fill by applicant in in one jsp page.I need to print that jsp/html page to pdf .How to do this.Can you please help.


Thanks & Regards,
Mudiraj Niklesh
 
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use the JasperReport to help you with that.


http://jasperforge.org/projects/jasperreports
 
Ranch Hand
Posts: 59
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i think you can perform this by making use of itext.jar
 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Smarty Ravi wrote:i think you can perform this by making use of itext.jar


If you're willing to write code that converts HTML to PDF, then yes - iText can help. But that's akin to writing an HTML interpreter, which is a huge task.

If the web page can be made to be CSS-styled XHTML, then the FlyingSaucer library can perform the transformation for little work.
reply
    Bookmark Topic Watch Topic
  • New Topic