Hello,

I have a problem creating MultipartServletRequest from one HttpServletRequest a second time. At first I have to create it in my ServletFilter and secondly in my Servlet, but when I create the MultipartServletRequest-Object in the Servlet I get the Exception "java.io.IOException: Stream closed".
I tried to send the MultipartServletRequest-Object from the Filter to the Servlet, but since the doPost-Method from the Servlet gets an HttpServletRequest I have to cast back, which throws a ClassCastException.

Any workarounds for this?

Thanks in advance.

Michi;