struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10388] - ServletException: Multipart data doesn't start with boundary (when calling form.validate() in Action)
Date Mon, 29 Jul 2002 05:43:38 GMT
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 daniel.joshua@gridnode.com  2002-07-29 05:43 -------
Martin,

Just to let you know, I had already changed it to the below, with the same 
results.

  public FormFile getFile()
  {
    return _file;
  }

  public void setFile(FormFile newFile)
  {
    _file = newFile;
  }

When my validation of the other text fields fail, I forward to a dispatch 
action that displays the data entry page with validation messages. This cause 
the problem.

If I have no validation errors, I can upload the file successfully; or if I 
remove the <input type="file" ...>, then I am able to forward to my dispatch 
action correctly when there are validation errors.

I have however not tried with the new multipart file handler in Struts as of 
the 20020728 nightly builds.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message