tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Olofsson <>
Subject Re: Allow Servlet to Control "100-continue" response
Date Sat, 18 Jun 2011 10:56:36 GMT

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.
You can use a Filter as mack Lu suggested or you could use a Valve, the 
following post [1] discusses the pros and cons. There's also a nice 
Tutorial on filters [2].



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message