This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Page to PDF File

 
Niklesh Mudiraj
Greenhorn
Posts: 12
Firefox Browser Java Tomcat Server
  • 0
  • 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
  • 0
  • 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
Pie
Posts: 2496
9
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic