• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Upload with MultipartRequest giving problem on Netscape6.1  RSS feed

Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I am developing a fileupload application.I used the MultipartRequest class provided by O'Reilly.
Following was the form tag I used -->
<FORM name="fileUpload" action="fileUpload.jsp" method=post enctype="multipart/form-data">
On the fileUpload.jsp the MultipartRequest Constructor was called in the following way -->
MultipartRequest multi = new MultipartRequest(request, TEMP_DIR, remainingQuota);
Things are working fine when I access the application with either any IE browser or Netscape 6.2.But with Netscape 6.1 browser which is to be used by us officially following is the error being thrown in the readNextPart() method of the MultipartRequest class.
java.io.IOException: Malformed line after content type: Content-Transfer-Encoding: binary
I am not sure why this exception is coming only for the Netscape 6.1 version.If i have to do any browser settings or what?
If you can put your head into MultipartRequest class and the Browser settings you may understand the problem practically.
I need a very urgent solution on this.
Please do the needful,
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!