Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Tracey King   on Feb 08 In Java Category.

  
Question Answered By: Jonathan Brown   on Feb 08

Both the <jsp:include> and <jsp:forward> transfer control to new jsp page. The
<jsp:include> action transfers control to a new page, whose results are inserted
into the current page at this point, then execution of the current page
continues. Means control returns back to main page frm where ur including that
page. Opposite to this <jsp:forward> works, giving up the control to the
forwarded page. Control doen't return to main page once u forward it.
This is the only difference  I found. Hope this would help...

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 


Tagged: