cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: ForwardRedirector ???
Date Tue, 05 Nov 2002 10:00:27 GMT


Artur Bialecki wrote:
> 
> Is there a way to redirect internally (without going back to the browser)
> from an action? Actions get a Redirector but it is a SitemapRedirector
> that calls HttpEnvironment.redirect(). Is there any way
> I can get a ForwardRedirector in my action.

The best way is to exit the action and redirect in the sitemap, so that 
you can easily modify it later, and your Action becomes more reusable.

All URL contracts /should/ be in the sitemap.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message