[JSP] difference between jsp:forward and jsp:include

Discussion in 'Java' started by alexjaquet@gmail.com, Jun 2, 2006.

  1. Guest

    What's the difference between the two :

    <jsp:forward page="two.jsp">
    <jsp:param name="param1" value="value1">
    <jsp:param name="param2" value="value2">
    </jsp:forward>

    <jsp:include page="two.jsp">
    <jsp:param name="param1" value="value1">
    <jsp:param name="param2" value="value2">
    </jsp:include>

    paramaters are passed between the pages

    thx for your advice.
     
    , Jun 2, 2006
    #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. jakk
    Replies:
    4
    Views:
    13,877
  2. David Rabinowitz
    Replies:
    2
    Views:
    13,425
  3. Sean Aitken
    Replies:
    3
    Views:
    12,466
    Alex Hunsley
    Oct 21, 2004
  4. ramakrishna
    Replies:
    0
    Views:
    1,526
    ramakrishna
    May 4, 2006
  5. Santa
    Replies:
    1
    Views:
    1,435
    Mark A. Odell
    Jul 17, 2003
  6. Kceiw
    Replies:
    3
    Views:
    1,361
    Jim Langston
    Mar 14, 2006
  7. PerlFAQ Server
    Replies:
    0
    Views:
    551
    PerlFAQ Server
    Jan 6, 2011
  8. PerlFAQ Server
    Replies:
    0
    Views:
    474
    PerlFAQ Server
    Apr 15, 2011
Loading...