struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Wolfgang Woger <jwwo...@chello.at>
Subject Re: what is the difference between forward and redirect?
Date Thu, 15 Apr 2004 12:26:37 GMT
Hi,
I basically understood the technical diffence between forward and redirect,
but from webapplications point of view, when do I use forward or redirect.

On which circumstances should I use a redirect for example?

Wolfgang

Sanoj, Antony (IE10) wrote:

>Mike,
> 
>  forward is carried inside the servlet engine, whereas the redirect goes to
>the browser, and then the browser sends the request to the resource 
>  forward preserves the request state, but redirect destroys the original
>request as it completes a request/response cycle 
>  when the browser receives the redirect.
>regards
>Sanoj
>
>-----Original Message-----
>From: Mu Mike [mailto:mikemu_58@hotmail.com]
>Sent: Thursday, April 15, 2004 3:00 PM
>To: user@struts.apache.org
>Subject: what is the difference between forward and redirect?
>
>
>when forward, what do we foward? 
>when redirect, what we do different?
>
>Thanks&Regards
>Mike
>
>_________________________________________________________________
>与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn
 
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message