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

A

alexjaquet

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,832
Latest member
GlennSmall

Latest Threads

Top