When you forward, you pass control to another class within your current
application root context.

When you redirect, you can pass in or out of the context.

Simon - "If I have this wrong, my site is well sha***d!!"


----- Original Message -----
From: "Fabio Mancinelli" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 11:28 AM
Subject: [XEN] Simple question: forward and redirect


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 13 Mar 2003, Ian Hunter wrote:
>
> > Are you redirecting or forwarding to your JSP from that Action?
>
> What is the exact difference between forwarding and redirecting? What are
> their implications?
>
> I searched the Servlet and JSP specs but I haven't found nothing about
> that.
>
> A presto,
> Fabio
>
> - --
> - ------------------------------------------------------------------------
-----
>  Fabio Mancinelli, PhD student     EMail : [EMAIL PROTECTED]
>  Dipartimento di Informatica         WWW :
http://www.di.univaq.it/~mancinel
>  Universita' dell'Aquila
> - ------------------------------------------------------------------------
-----
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: Made with pgp4pine 1.75-6
>
> iD8DBQE+ca7A6dsQbk2R3cMRAruyAKDTfVtCqtF13uyg+oDHw8NpfSIWrgCfa8RB
> FKSGdLso4sReqYrbCO2fkcE=
> =aSQr
> -----END PGP SIGNATURE-----
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to