[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. 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. jakk
    Replies:
    4
    Views:
    12,108
  2. David Rabinowitz
    Replies:
    2
    Views:
    12,632
  3. Kceiw
    Replies:
    3
    Views:
    992
    Jim Langston
    Mar 14, 2006
  4. Andreas Bogenberger
    Replies:
    3
    Views:
    898
    Andreas Bogenberger
    Feb 22, 2008
  5. Replies:
    0
    Views:
    564
Loading...

Share This Page