A Pipeline can both forward requests internally (to another pipeline) or send explicit redirects back to the client.

The redirect-to element must have one of these 2 attributes:

With the resource attribute set, pipeline processing continues with the named resource. In recent releases (2.1.1 and later - I haven't looked at earlier versions), this is deprecated in favour of call.

    <map:call resource="something"/>

With a uri attribute, a HTTP redirect response is send to the client. The pipeline processing ends. In this case, three Boolean parameters may be set. They all default to false.

    <map:redirect-to uri="http://google.com/"/>

Redirects (last edited 2009-09-20 23:40:12 by localhost)