[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

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,709
Latest member
AustinMudi

Latest Threads

Top