You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andy Kriger <ak...@greaterthanone.com> on 2002/10/14 21:37:42 UTC

difference between forward and include?

The DTD specifies for attributes named 'forward' and 'include' for action.
These have the same documentation. Is there any difference?

-a



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: difference between forward and include?

Posted by Cedric Dumoulin <ce...@apache.org>.
  There is a difference: one do a jsp forward, and the other a jsp 
include. The first can be called as long as the request is not 
committed. As soon as the request is committed, you can't use forward 
anymore. Check servlet specifications or API  to know more about the 
differences.

         Cedric

Andy Kriger wrote:

>The DTD specifies for attributes named 'forward' and 'include' for action.
>These have the same documentation. Is there any difference?
>
>-a
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>  
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>