I\'m using the apache commons fileupload stream api. But the FileItemIterator FileItemIterator iter = upload.getItemIterator(request);
returns false in its hasN
In my web.xml file. There was a filter
<filter>
<filter-name>resourceUploadServlet</filter-name>
<filter-class>org.mortbay.servlet.MultiPartFilter</filter-class>
<init-param>
<param-name>maxSize</param-name>
<param-value>2147483648</param-value>
</init-param>
</filter>
When i remove the filter the problem is solved...
A few things that might be worth checking for:
PS: It might be better to use the Logger class to be 'doubly sure' on whether the Form and File field parsing is being done or not.