cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mato Mira, Fernando" <Fernando.Matom...@dialog.com>
Subject RE: Design bug or implementation bug in redirector?
Date Mon, 16 Jun 2003 12:13:06 GMT
> From: Upayavira [mailto:uv@upaya.co.uk]

> > > How does forwarding differ from redirection?
> > With redirect I lose the request parameters
> 
> > > What specifically are you trying to achieve?
> > 
> > When the user asks for a URL like customweb/login,
> > if the profile file for customweb does not exist,
> > this will be processed as a request for dialog/login
> > and all subsequent URLs he gets will start with dialog/
> > 
> > Many different request parameters can be sent to the login page.
> 
> You can do:
> <map:redirect-to uri="foo.html?param={request-param:param}"/>
> 
> Does that help you?

It helps a bit. However, what happens if param does not exist? Also,
I wouldn't like to have to keep the sitemap in sync with the page
details. Why not providing a way of passing through all parameters?

Mime
View raw message