I assume you're using Struts 1.0.2 or earlier - you didn't say. I believe what you are seeing is a bug which is fixed in Struts 1.1-b1.
-- Martin Cooper > -----Original Message----- > From: Pete Serafin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 7:28 AM > To: '[EMAIL PROTECTED]' > Subject: File upload: no multipart request data sent > > > I have a jsp used to do a simple file upload. I am retrieving and > processing the file without any problems. However, when I try to > forward to the same action ( or another action ) after the processing > is done, I get the following error: > > javax.servlet.ServletException: MultipartIterator: no > multipart request > data sent at org.apache.struts.upload.MultipartIterator.parseRequest > (MultipartIterator.java:342) > > When I forward to a JSP, I dont get this error. I am not doing any > validation on this form, but I cant seem locate where the error is > occuring. My form does have the following header: > > <html:form action="updateCandidate.do" enctype="multipart/form-data"> > > The error appears to be happing after the action forward, but before > the perform method of the ensuing action. Any advise is greatly > appreciated as I am completely stuck > > > Pete Serafin > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>