A redirect tells the browser to load a new page whereas a forward sends
the current request on to a new action or page.  The big difference is
that in a redirect the browser is making a *new* request, in a forward,
the current request is carried on to wherever with all the attributes of
the original request.  

Another consideration is that when a redirect is done, the client now
knows where they were redirected to, whereas multiple forwards can be
performed and the client only knows about the original request that was
made.

Robert Nocera
New England Open Solutions
www.neosllc.com
"You supply the vision, we'll do the rest."
 

-----Original Message-----
From: Brian Holzer [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 24, 2002 3:46 PM
To: [EMAIL PROTECTED]
Subject: redirect vs forward

Hey there,
    I am kind of confused about what the difference is between a forward
and a redirect.  In reading the documentation on the logic:forward and
redirect tags. With the forward tag, whether a forward or redirect is
sent, is determined by the redirect param in the <action> definition.
The redirect tag sends a redirect to the browser, but what is the
difference between the two?  Why would I want to define an Actions
forward so that it is sent as a redirect?  Maybe the answer will be
evident to me once I know the difference b/t the two.  Can someone shed
some light on this for me?

Brian


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


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

Reply via email to