cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: Proposal: Cocoon 2 and HTTP Error Handling
Date Fri, 02 Feb 2001 11:37:41 GMT
+1 (for using HTTP error codes the way they were intended to be used.)

Thanks,
dims

--- Donald Ball <balld@webslingerZ.com> wrote:
> On Thu, 1 Feb 2001, Berin Loritsch wrote:
> 
> > This proposal stems from the irony of mapping Cocoon 2
> > to match "/" in the servlet engine.  With Cocoon 1, if
> > a source XML document could not be found, you got a
> > classic 404 Document Not Found Error.  WIth Cocoon 2,
> > you get a much more essoteric 500 error--which in 9
> > out of 10 cases is not the desired functionality.
> >
> > My proposal is to throw a 404 Error if a Generator
> > or a Reader can't find the requested resource.  Why
> > at the Generator stage?  Because that is the only
> > location in the pipeline that really makes sense,
> > and where the absence of a template does not constitute
> > an error.
> 
> +1 for using HTTP error codes the way they were intended to be used.
> 
> - donald
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message