cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Standardizing Redirect in Cocoon
Date Mon, 16 Apr 2001 12:16:16 GMT
giacomo wrote:
> 
> On Fri, 13 Apr 2001, Berin Loritsch wrote:
> 
> > giacomo wrote:
> > >
> > > On Fri, 13 Apr 2001, Berin Loritsch wrote:
> > >
> > > > 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,
> > >
> > > Which redirect() method? The one of the Environment object?
> >
> > The one that a developer of Cocoon can use.  Perhaps both.  Actually,
> > since all developers are using the Cocoon wrapped objects, we can have
> > the Environment one call the Request object, which handles all the real
> > logic.
> 
> Today it is the other way around: the Request calls the Environments.

That's alright.  As long as there is only one place to standardize the code.

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


Mime
View raw message