inputstream « Request « JSP-Servlet Q&A





1. Tomcat Filter adversely affecting Request Input Stream (input stream empty)    stackoverflow.com

I've added a filter to my application which simply logs certain things about a request. Some of my servlets read from ServletRequest#getInputStream. Since adding this filter, those servlets that ...

2. saving the request.inputstream data in the doPost method    stackoverflow.com

In class A (extending javax.servlet.http.HttpServlet) I declared an arraylist (outputList) variable and within its doPost method I am calling the request.getInputStream() method and added that stream to the outputList. In ...