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

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. Andrew Tucker

    Program Design issue: jsp?!?

    Andrew Tucker, Aug 3, 2003, in forum: Java
    Replies:
    1
    Views:
    416
    Roedy Green
    Aug 3, 2003
  2. nbandi

    Design : Servlet vs JSP

    nbandi, Oct 21, 2003, in forum: Java
    Replies:
    1
    Views:
    3,984
    John C. Bollinger
    Oct 21, 2003
  3. circuit_breaker
    Replies:
    2
    Views:
    2,400
    Jack Jia
    Apr 4, 2004
  4. dave
    Replies:
    5
    Views:
    840
    William Brogden
    Jul 17, 2004
  5. news.anet.com

    JSP/Servlet Design

    news.anet.com, Aug 4, 2004, in forum: Java
    Replies:
    4
    Views:
    814
    Tor Iver Wilhelmsen
    Aug 5, 2004
  6. Replies:
    0
    Views:
    4,962
  7. javadev
    Replies:
    5
    Views:
    13,963
    javadev
    Nov 16, 2006
  8. Replies:
    4
    Views:
    1,042
Loading...