David Wall wrote:

> Actually, the newlines are not part of it.....  It's just one
> line string, with THREE boundary= parts!

Wow, quite a bug.

> On my systems (and we have many others who have posted successfully),
> with both IE4 and IE5 on Win95 and Win98, I've not had any problems.

That would strongly imply this is a client bug.  Something may be odd
about his IE4 setup that causes it to send the boundary multiple times.
Does this happen for him on every submit?

> I'm using Apache 1.3.9.

With JServ?  Which version, just for the record?

> As another hack attempt at fixing this, I'm going to use
> lastIndexOf("boundary=") instead of indexOf("boundary=") in your
> method extractBoundary().  This should work in the case of a normal,
> single boundary= situation -- and it does on my test systems -- but
> MAY also work in this odd bug from this person's browser.

Good thinking; should cause no harm in the standard case and may help in
this odd case.  Please let me know how it goes.

-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: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to