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?
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.