I am using a redirect instead of a forward to work
around this problem.

Russ
--- Matt Raible <[EMAIL PROTECTED]> wrote:
> I'm trying to do the following:
> 
> Add a new file using an UploadForm and
> UploadAction.add method.  This
> works fine.
> 
> Update the properties of this file using the same
> UploadForm and
> UploadAction.save method. After saving the
> information to the database,
> I leave the form in it's scope (session) and forward
> it to the
> UploadAction.edit method - which retrieves the
> record from the database.
> 
> However, when I forward back to the
> UploadAction.edit (using
> /do/upload?action=Edit), I get the following error:
> 
> Any ideas?
> 
> Matt
> 
> ----- Root Cause -----
> java.io.IOException: Multipart data doesn't start
> with boundary
>       at
>
org.apache.struts.upload.MultipartBoundaryInputStream.readFirstElement(M
> ultipartBoundaryInputStream.java:348)
>       at
>
org.apache.struts.upload.MultipartBoundaryInputStream.setInputStream(Mul
> tipartBoundaryInputStream.java:172)
>       at
>
org.apache.struts.upload.MultipartIterator.parseRequest(MultipartIterato
> r.java:202)
>       at
>
org.apache.struts.upload.MultipartIterator.<init>(MultipartIterator.java
> :171)
>       at
>
org.apache.struts.upload.DiskMultipartRequestHandler.handleRequest(DiskM
> ultipartRequestHandler.java:75)
>       at
>
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:908)
>       at
>
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcess
> or.java:793)
>       at
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> 246)
>       at
>
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109)
>       at
>
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:470)
>       at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>       at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
> her.java:679)
>       at
>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
> atcher.java:431)
>       at
>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
> cher.java:355)
>       at
>
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc
> essor.java:181)
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to