Http Servlet request lose params from POST body after read it once
问题 I'm trying to accessing two http request parameters in a Java Servlet filter, nothing new here, but was surprised to find that the parameters have already been consumed! Because of this, it is not available anymore in the filter chain. It seems that this only occurs when the parameters comes in a POST request body (a form submit, for example). Is there a way to read the parameters and NOT consume them? So far I've found only this reference: Servlet Filter using request.getParameter loses Form