cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Standardizing Redirect in Cocoon
Date Fri, 13 Apr 2001 15:41:49 GMT
As of Servlet 2.3, the spec officially states that redirects to "/"
get sent to the server root.  I can think of many cases where an easy
redirect to the context root is important.

To that end, I propose that the redirect() method should be wrapped,
and if the "context:" protocol is specified, then the URL should be
relative to the context root.  This should be easy in Cocoon 2, because
we are limiting the access to the redirect function--I don't know about
Cocoon 1.

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


Mime
View raw message