• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Laxmi Something
Greenhorn
Posts: 2
  • 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
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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: 1163
Eclipse IDE Firefox Browser Java
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!