cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: AW: Why WebApp programming is harder than necessary with C2
Date Thu, 07 Jun 2001 16:53:41 GMT

> > The redirector implementation known by the sitemap:
> >
> >    public class SitemapRedirector implements Redirector {
> >      private boolean hasRedirected = false;
> >      private Environment e;
> >      public SitemapRedirector (Environment e) {
> >        this.e = e;
> >      }
> >      public void redirect (String url) {
> >        e.redirect(url);
> >        this.hasRedirected = true;
> >      }
> >      protected boolean hasRedirected () {
> >        return this.hasRedirected;
> >      }
> >    }

This is now implemented, and works great.  In combination with
not cacheing the session object, redirects work as expected.

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


Mime
View raw message