cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Roebuck <stuart.roeb...@adolos.co.uk>
Subject Re: New : internal redirects with "cocoon:" URIs
Date Thu, 28 Mar 2002 13:18:57 GMT

On Wednesday, March 27, 2002, at 05:23 PM, Torsten Curdt wrote:

>> 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

Very cool indeed!

Thank you,

Stuart.

            Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
      Key fingerprint = 89D9 E405 F8B1 9B22 0FA2  F2C1 9E57 5AB1 88DD 65AF
-------------------------------------------------------------------------
Stuart Roebuck                                  stuart.roebuck@adolos.com
Systems Architect                             Java, XML, MacOS X, XP, 
etc.
ADOLOS                                           <http://www.adolos.com/>


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


Mime
View raw message