cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: Request forwarding (was: Problems with content aggregation and redirects)
Date Wed, 27 Jun 2001 10:06:43 GMT
> Konstantin Piroumian wrote:
>
> <skip>
> >
> > Well, sure this can't work because the <map:redirect uri="..."/> is
> > issuing a real HTTP redirect to the browser a thus has no pipeline. I
> > guess this only thing working is a <map:redirect resource="..."/>
>
> Is there a possibility to use RequestDispatcher.forward() or
> include()? For
> internal redirects they would be better than issuing a real redirect? Is
> there a reason that these methods haven't been used in the sitemap
> processing model?
>
As far as I remember the servlet spec the RequestDispatcher can only be used
if the OutputStream was not get from the ServletResponse. Unfortunalety
one of the first actions done in the sitemap processing is the
getOutputStream
call.

Carsten

> >
> > Giacomo
> >
>
> Regards,
>     Konstantin Piroumian.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message