• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

on clicking Submit in JSP, create a PDF file using the information in the form.

 
Laxmi Something
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On clicking Submit button in JSP form, I would like to generate a PDF file using the information given by user in the form. What are the ways to do it?

Thank you
Laxmi
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Submit the form to a servlet that creates the PDF stream and returns it as the response, setting the appropriate response headers. There are numerous libraries that help create PDF.
 
Mansukhdeep Thind
Ranch Hand
Posts: 1158
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the ranch Laxmi.

iText is a popular open source library used to handle PDFs from java programmatically.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic