struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bar³omiej Paw³owski <bpawlow...@supermedia.pl>
Subject Problem with <html:form enctype="multipart/form-data"/>
Date Mon, 06 Aug 2001 08:02:45 GMT
Hi again

I have created multipart form
      <html:form action="/upload" enctype="multipart/form-data">
        <html:file property="theFile" styleClass="form2"/>
       <html:submit/>
      </html:form>

When I submit it, I receive following exception:
java.lang.ArrayIndexOutOfBoundsException
 at
javax.servlet.http.MultipartHandler.readLine(MultipartHandler.java:139)
 at
javax.servlet.http.MultipartHandler.readLine(MultipartHandler.java:103)
 at
javax.servlet.http.MultipartHandler.gotoBoundary(MultipartHandler.java:160)

 at
javax.servlet.http.MultipartHandler.nextPart(MultipartHandler.java:315)

What do I wrong?
thanks


Mime
View raw message