What is the difference between ForwardAction and IncludeAction?

Showing Answers 1 - 8 of 8 Answers

goutam

  • Sep 12th, 2006
 

ForwardAction  Provides a mechanism for forwarding to a specified URL.Whereas IncludeAction Provides a mechanism for including the contents of a specified URL.

  Was this answer useful?  Yes

subhashini

  • Sep 21st, 2006
 

1.forward action is similar to <jsp:forward> and include action is similar to <jsp:include> in jsp

2. forward action is used to forward to control from one page to another page or action. 

include action is used to include action in another action.

U can do forwards either in two ways.

using forward action or Global forwards.

subhashini.

  Was this answer useful?  Yes

Difference in output.

ex: if we forward from one.jsp to two.jsp the contents of only two.jsp will be generated .
     if we include two.jsp in one.jsp the contents of both the jsp's will be generated

  Was this answer useful?  Yes

rajeev

  • Jan 9th, 2015
 

Difference between include action and forward action.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions