I don't believe the bug is in WebSphere. Using Apache and WebSphere (same
version, 2.03), everything runs fine. It's only when Domino is in the mix do
things fall apart, so I think the problem lies there. Either way, I tried
your suggestion of calling getHeader("Content-type") and that *does* appear
to be returning the boundary= string. Guess I could sub-class your class and
override the method for finding boundary=.
Thanks,
John
-----Original Message-----
From: Jason Hunter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 04, 2000 12:13 AM
To: [EMAIL PROTECTED]
Subject: Re: File uploads using Domino 5.02 and WebSphere
Alchin, John wrote:
>
> I'm having a problem with file uploads using Domino 5.02 as the
> Web Server and WebSphere (2.03) as the servlet engine.
> I've implemented the example in
> Jasons book and get an IOException with a message of "Separation
> boundary was not specified".
There seems to be a bug in WebSphere that causes this error. People
report that upgrading to WebSphere 3.x fixes the problem. WS 2.x must
remove the "boundary=" information from the header.
Would someone check if getHeader("Content-type") returns the boundary=
string? If so, changing getContentType() to getHeader("Content-type")
would be a good workaround.
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html