tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Allow Servlet to Control "100-continue" response
Date Sat, 18 Jun 2011 11:46:57 GMT
On 18/06/2011 11:56, Simon Olofsson wrote:
> Rehtron,
> 
> On 2011-06-18 7:53, Rehtron wrote:
>> I need to use the servlet  to control this response and accept/reject the
>> request before receiving the request content, Is there anyone could
>> give me
>> some advice?
> 
> as you noticed it's too late when your Servlet is invoked: The request
> is already acknowledged.

Correct.

> You can use a Filter as mack Lu suggested

Wrong.

> or you could use a Valve

Correct. A Valve is the only option.

Mark



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


Mime
View raw message