Laurent Perez wrote:

> I am trying to access the Content-length header from the http response
> directly within my Cocoon app, and if its value is greater than X
> bytes, then trigger some already written business logic (with a
> <map:call function="bizlogic">).
> 
so you want to execute biz logic depending on the total size of the http
response ...

> I had a look at the RequestListener interface, which can - I assume -
> give back the Response from an Environment, using ObjectModelHelper.
> However I don't know how to obtain the http Content-length header from
> the Response interface.
> 

I don't think it is possible to retrieve response headers using the
servlet API - however check the api docs to be sure.


Jorg


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

Reply via email to