Use redirects when you don't want the contents of your request to be
present while accessing the next resource. i.e. when you access a login
page, when you access an external resource.

Use forwards when you want the contents of your request to be handled or
present by the next resource you forward to. i.e. the page/resource after
your login page, every page of your wizard=like webapplication, etc..

 --- Johannes Wolfgang Woger <[EMAIL PROTECTED]> escribi�: > 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:[EMAIL PROTECTED]
> >Sent: Thursday, April 15, 2004 3:00 PM
> >To: [EMAIL PROTECTED]
> >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: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>  

_________________________________________________________
Do You Yahoo!?
Informaci�n de Estados Unidos y Am�rica Latina, en Yahoo! Noticias.
Vis�tanos en http://noticias.espanol.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to