Women in Technology

Hear us Roar

  Dynamically Creating PDFs in a Web Application
Subject:   Dynamic PDF generation
Date:   2005-02-25 22:31:15
From:   nageshever
Hi All,

can any one tell me what is the advantage of generating pdf files dynamically using jsp over using servlets. Please any one reply back immediately. I want generate the reports in pdf and Excel files dynamically.
thanks in advance,

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Dynamic PDF generation
    2005-06-06 13:16:21  timle [View]

    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.