servlet and JSP combination and design issue

Discussion in 'Java' started by Matt, Jun 10, 2004.

  1. Matt

    Matt Guest

    My task is to generate the list box dynamically based on the input XML file.

    I create a JSP page and a servlet.
    http://www.myserver.com/page1.jsp

    In page1.jsp, I have the following to call servlet from JSP page
    <jsp:include page="myproj.TableGeneration"/>

    In my case, I think I don't need servlet at all, but just Java Bean
    class to generate the table. And JSP page call that Java Bean class.

    But in what situation we need the combination of servlet and JSP?

    What do you think? Any ideas? Thanks!
     
    Matt, Jun 10, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. nbandi

    Design : Servlet vs JSP

    nbandi, Oct 21, 2003, in forum: Java
    Replies:
    1
    Views:
    3,898
    John C. Bollinger
    Oct 21, 2003
  2. circuit_breaker
    Replies:
    2
    Views:
    2,017
    Jack Jia
    Apr 4, 2004
  3. Replies:
    0
    Views:
    4,401
  4. javadev
    Replies:
    5
    Views:
    12,934
    javadev
    Nov 16, 2006
  5. Replies:
    4
    Views:
    794
Loading...

Share This Page