On Tue, Mar 12, 2002 at 10:01:42AM +0100, Martin Haase-Thomas wrote:
> Hi all,
>
> I know this is not perfectly the right list for my topic, but before
> subscribing to another for just one question... forgive me if I'm going
> to be boring. Even more, because my question is rather philosophical.
>
> If you consider JSPs, there is a tag called <jsp:forward page="..." />.
> My question is: how do I have to understand 'forward'? The java
> documentation isn't that verbose, and I can imagine two possible meanings:
> 1. Forwarding is some sort of an internal redirect to the servlet engine
> which the browser will not be informed of. From this point of view
> forwarding will be nearly the same as a dynamic include.
*ding* correct! Basically it says, dump any buffered output and start
a new request.
> 2. Forwarding is the same as a redirect.
nope, see above.
> Maybe a superfluous question for some of you, for me it isn't actually.
> So, if anyone knows an answer - or knows the number of the RFC I'll find
> the information: you're welcome!
You'll find that $r->internal_redirect() is the mod_perl equivalent.
Also Apache::ASP containts the Transfer() method which accomplishes
the same thing.
--
Paul Lindner [EMAIL PROTECTED] ||||| | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/