redirect:

The redirect requires an iteraction with the browser. That is, the server
responds to the browser with the redirect url, and then the browser goes to
the redirect url. This can be done directly from a servlet, or a tag library
that has the redirect in it (acme) in a jsp, or from a code snippet in a
jsp.

forward:

A forward is done all on the server side, and no action is taken by the
browser. The forward can be done from a jsp with the jsp:forward tag, from a
servlet with the forward() method, or from a snippet in at jsp with the
forward() method.

regards,

the elephantwalker


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Roozbeh
Ghaffari
Sent: Saturday, July 14, 2001 10:48 PM
To: Orion-Interest
Subject: acme:redirect or jsp:forward


Hi Friends,

Would you please explain different usages of <acme:redirect "..." /> and
<jsp:forward "..." />. When should I use each of them?
Is it true that jsp:forward does the job on server side? So what's the
advantage of acme:redirect which sends a redirect to the client?

Thank you in advance,
Roozbeh/


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Reply via email to