Peter that's a very similar error to what I am getting and I am doing the
same thing (migrating from b1 to b3 with file uploading). Although the
symptom I am getting is the ActionForm.validate method not working.
If you find the answer please let me know!
> -----Original Message-----
> From: Peter Doyle [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 7 June 2001 2:45 a.m.
> To: [EMAIL PROTECTED]
> Subject: invalid multipart request in beta 3
>
>
> Hi,
> I recently changed from Struts b1 to b3. (I skipped b2) I
> have doe working
> with b1 to handle uploading, based on the upload application
> that came with
> struts. Since changed to b3 I get the following error:
>
> javax.servlet.ServletException: MultipartIterator: invalid
> multipart request
> data, doesn't start with boundary
>
> I cannot find what has changed between struts b1 and b3 that
> would cause
> this. I cannot find a way to resolve it. The code in my upload action
> executes and finishes. Control is passed to the controller
> servlet where
> this problem occurs.
>
> I would appreciate any help
>
> Thanks,
> Peter
>
>
>
> javax.servlet.ServletException: MultipartIterator: invalid
> multipart request
> data, doesn't start with boundary
> at
> org.apache.struts.upload.MultipartIterator.parseRequest(Multip
> artIterator.ja
> va:345)
> at
> org.apache.struts.upload.MultipartIterator.(MultipartIterator.
> java:152)
> at
> org.apache.struts.upload.DiskMultipartRequestHandler.handleReq
> uest(DiskMulti
> partRequestHandler.java:65)
> at
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:735)
> at
> org.apache.struts.action.ActionServlet.processPopulate(ActionS
> ervlet.java:20
> 53)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava:1563)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
> at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
> at
> allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequest
> Dispatcher.jav
> a:88)
> at
> org.apache.struts.action.ActionServlet.processActionForward(Ac
> tionServlet.ja
> va:1758)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava:1595)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
> at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
> at
> allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequest
> Dispatcher.jav
> a:88)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
> at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
> at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:354)
> at allaire.jrun.ThreadPool.run(ThreadPool.java:267)
> at allaire.jrun.WorkerThread.run(WorkerThread.java:74)
>
>
>
>
>
> --
> __________________________________________________
> Peter Doyle TEO Media Ireland
> [EMAIL PROTECTED] http://www.teomedia.com
> Ph +353 1 888 1353 Fx +353 1 888 1354
> Unit 8 Scotch Berth, North Wall, Dublin 1, Ireland
> __________________________________________________
>