Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Page to PDF File

 
Niklesh Mudiraj
Greenhorn
Posts: 12
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
 
Ravi Majety
Ranch Hand
Posts: 59
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think you can perform this by making use of itext.jar
 
Tim Moores
Bartender
Posts: 2798
38
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic