I am using Filter to intercept each request, where in filter I can get only ServletRequest inputstream, which is returning empty input stream, to get the input stream.It seems that I need to get the HttpServletRequest. How to achieve this? I tried casting as well as converting to httpservletrequest. none of the ways, i was able to get value using
request.getParameter("aaa") //when request content type is multipart/file.