本文发表在 rolia.net 枫下论坛Hi Jabber!
I use an ISS server + Resin( supporting API2.2 ). I need to upload a text format file and populate data into database. I just follow the sample code provided by www.servlets.com to do it. ButI have a problem exactly same as another one who put a message on a bbs today:
===================================================
I am trying to uplaod a file using com.oreilly.MiltipartRequest Package.
But when i am uploading any file it is giving me the java.io.IOException: Corrupt form data : no leading boundary
i tried to print the boundary it is :
boundary=---------------------------7d11c22c748,multipart/form- data; boundary=---------------------------
7d11c22c748,multipart/form-data; boundary=-----------------------
----7d11c22c748
Can anyone tell that why my boundary is repeating three times is, it normal and if it is allright then why i am getting the error of "Corrupt form data : no leading boundary"
I am using IE 5.5,and jsdk2.0.
Is there any other method to upload a file?
=======================================================
Do you have any idea about this?更多精彩文章及讨论,请光临枫下论坛 rolia.net
I use an ISS server + Resin( supporting API2.2 ). I need to upload a text format file and populate data into database. I just follow the sample code provided by www.servlets.com to do it. ButI have a problem exactly same as another one who put a message on a bbs today:
===================================================
I am trying to uplaod a file using com.oreilly.MiltipartRequest Package.
But when i am uploading any file it is giving me the java.io.IOException: Corrupt form data : no leading boundary
i tried to print the boundary it is :
boundary=---------------------------7d11c22c748,multipart/form- data; boundary=---------------------------
7d11c22c748,multipart/form-data; boundary=-----------------------
----7d11c22c748
Can anyone tell that why my boundary is repeating three times is, it normal and if it is allright then why i am getting the error of "Corrupt form data : no leading boundary"
I am using IE 5.5,and jsdk2.0.
Is there any other method to upload a file?
=======================================================
Do you have any idea about this?更多精彩文章及讨论,请光临枫下论坛 rolia.net