RE: SOLVED Tomcat 7.06 HttpRequestServlet.getPart() returns null in servlet

2011-01-15 Thread JASON HOLT
Tomcat 7.06 HttpRequestServlet.getPart() returns null in servlet > > On 14/01/2011 23:11, JASON HOLT wrote: > > > > As JSF 2.0 doesn't include a file upload component, I need to write my own > > multipart/form-data process. According to the information in bug # 49711, I >

RE: Tomcat 7.06 HttpRequestServlet.getPart() returns null in servlet

2011-01-15 Thread JASON HOLT
> > The basic functionality works since this is how the Tomcat Manager > application does file uploads (although it is configured in web.xml > rather than with annotations). > > I'd check web.xml. Does it have the correct schema definition for a > servlet 3.0 webapp? If not, Tomcat won't scan fo

Tomcat 7.06 HttpRequestServlet.getPart() returns null in servlet

2011-01-14 Thread JASON HOLT
As JSF 2.0 doesn't include a file upload component, I need to write my own multipart/form-data process. According to the information in bug # 49711, I cannot do this with a filter in Tomcat 7, but I can in a servlet. However, using the following servlet, HttpRequestServlet.getPart() returns nul