DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10388>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10388 ServletException: Multipart data doesn't start with boundary (when calling form.validate() in Action) ------- Additional Comments From [EMAIL PROTECTED] 2002-07-27 22:36 ------- There is a new multipart file handler in Struts as of the 20020728 nightly builds. This may resolve the problem you are seeing, so you might want to try it. Looking at your code again, though, I guess I don't understand what you are trying to do. You should never have to write code that works directly with the MultipartRequestHandler, either in your form beans or in your actions. All of this is intended to be transparent to you, so that you only need to write code that extracts the uploaded file information from the FormFile objects in your form bean. Your form bean should have the following: protected FormFile theFile; public FormFile getTheFile() { return theFile; } public void setTheFile(FormFile theFile) { this.theFile = theFile; } Then you simply access the uploaded file in your action using: FormFile uploadedFile = myForm.getTheFile(); and go from there. See the struts-upload web app included in the Struts distribution for more detail on how to handle this. If these comments help you resolve your problem, or you have otherwise resolved it, then please mark this bug as resolved, or add a comment to let us know, and we'll do that. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>