Dynamically Creating PDFs in a Web Application
Subject:   Dynamic PDF generation
Date:   2005-06-06 13:16:21
From:   timle
Response to: Dynamic PDF generation

well JSPs compile into servlets so there is no real difference between them. JSPs are handy if you have a lot of HTML as you just write <TABLE><TR> instead of out.println("<TABLE><TR>");

I use JSPs as the presentation layer and servlets as the controller with javabeans as the model between them. If you just want to return a PDF to the web browser thats probably best to code using a servlet, as you will have no HTML.