> 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to