Try to use the filter.
2011-06-18 mack Lu 发件人: Rehtron 发送时间: 2011-06-18 13:53:58 收件人: users 抄送: 主题: Allow Servlet to Control "100-continue" response Hi Currently if a client supplies the "Expect: 100-continue" header on a POST or PUT, Tomcat appears to send the response header ("100-continue") before passing control to the servlet. 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? Thanks.