> -----Original Message-----
> From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, March 20, 2002 5:01 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to