On 01/06/2010 03:53, Manny Mondeo wrote:
Hi ,
I have written a filter that strips the response of some html tags.
The filter is working and executing around 30milliseconds.
The problem is that the request takes around 30 seconds to load this in a
browser. The filter gets executed fast but
2010/6/1 Manny Mondeo manny...@yahoo.com:
httpRes.setContentLength(content.toString().length());
Also, the above, or simplier content.length(), will give you the
length measured in characters, but Content-Length must be the length
measured in bytes. For a multi-byte charset such as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Konstantin,
On 6/1/2010 5:41 AM, Konstantin Kolinko wrote:
2010/6/1 Manny Mondeo manny...@yahoo.com:
httpRes.setContentLength(content.toString().length());
Also, the above, or simplier content.length(), will give you the
length
2010/6/1 Christopher Schultz ch...@christopherschultz.net:
On 6/1/2010 5:41 AM, Konstantin Kolinko wrote:
2010/6/1 Manny Mondeo manny...@yahoo.com:
httpRes.setContentLength(content.toString().length());
Also, the above, or simplier content.length(), will give you the
length measured
2010/6/1 Manny Mondeo manny...@yahoo.com:
Hi ,
I have written a filter that strips the response of some html tags.
The filter is working and executing around 30milliseconds.
How do you measure the time?
The problem is that the request takes around 30 seconds to load this in a
browser. The