tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
Subject Re: Performace - long time to release connection
Date Wed, 16 Apr 2008 16:38:07 GMT
On Wed, Apr 16, 2008 at 9:25 AM, Danilo Luiz Rheinheimer
<danilo_lr@yahoo.com> wrote:

Probably not relevant :-) but

>  response.setContentType("text/html");

:: shouldn't that be ("application/json") ?

> PrintWriter w = response.getWriter();
>  w.write(s);

:: are you doing a flush() and close() after that?

And can you create a small downloadable test case?

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message