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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to