cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject RE: error handling !*#%!
Date Wed, 20 Mar 2002 14:02:28 GMT

> -----Original Message-----
> From: Ivelin Ivanov [mailto:ivelin@iname.com] 
> Sent: Wednesday, March 20, 2002 5:01 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: error handling !*#%!
> 
> 
> 
> > So a solution to your problem, Jeremy, may be to increase 
> the response 
> > buffer. javax.servlet.ServletResponse allows this through 
> > setBufferSize(), but this method doesn't exist on 
> > cocoon.environment.Response.
> 
> BTW, playing devil's advocate,
> why in the first place Cocoon hides/wraps the standard 
> HttpRequest, HttpResponse and other interfaces from the 
> Servlets API. I would guess that many people are used to the 
> Servlets API. As the API evolves (2.4 is not too far), Cocoon 
> will have to keep adding additional wrapper methods and 
> interfaces to keep up with the API. It also makes it a little 
> harder to mix other servlet technologies with Cocoon, because 
> of that extra barrier of getting used to the proprietary wrappers.
> 
> Was there a safety concern that made Cocoon designers make 
> such decision ?

Short answer is: environment independence. Cocoon uses Environment
abstraction and this allows to run it also from  command line. Other
possible environments could be Mail server, EJB container...

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

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


Mime
View raw message