cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: New : internal redirects with "cocoon:" URIs
Date Wed, 27 Mar 2002 17:23:09 GMT
> Hi team,
>
> I implemented internal redirects using the "cocoon:" pseudo-protocol.
> This is the Cocoon-equivalent to servlet request forwarding.
>
> This means that writing
>   <map:match pattern="">
>     <map:redirect-to uri="cocoon:/index.html"/>
>   </map:match>
> will make a recursive call on the current processor to serve
> "index.html" without going back to the client browser.
>
> This is also available in the Redirector used by actions. And as usual,
> "cocoon:/xxx" uses the current sitemap, and "cocoon://xxx" uses the root
> sitemap.

Very cool!
--
Torsten


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


Mime
View raw message