cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Error Handling
Date Mon, 06 Dec 1999 00:07:20 GMT
brian moseley wrote:
> 
> this is where i use the apache custom_response/internal
> redirect mechanism to great advantage in my mod_perl
> applications - when im processing an exception i select an
> error uri and set up an internal redirect to it. i get to
> stuff the exception message in the request notes table so
> that it's available to the 2nd request.
> 
> im not terribly knowledgable about the servlet api, but it
> looks we could do something similar in cocoon by modifying
> the request and having the request dispatcher forward it?

Yes, that could be a solution. I'll try different ways out in the next
few days.

Also, what about having an HTTP error code set when something bad
happens? what should we use?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche



Mime
View raw message