David Wall wrote:
>
> Jason,
>
> We're using your O'Reilly MultipartRequest class. Earlier we ran into
> a boundary problem with IE5 in which the boundary text seemed to
> change slightly. I was able to "hack correct" this by not throwing an
> exception when the boundaries did not match.
You mean that IE5 would *change* the boundary they use? What exactly
was the change (before vs after)? You say below it changed hex values.
This sounds painfully non-spec-compliant.
> Now, I just ran across someone with IE4.0 on Win98 who shows a new
> problem. In this case, the data looks okay for the comparison, but
> the boundary extracted is very large. It looks like this:
>
> The extract boundary (as stored in the boundary variable in
> readReqeust()) is:
>
> -----------------------------7cf11814838,multipart/form-data;
> boundary=---------------------------7cf11814838,multipart/form-data;
> boundary=---------------------------7cf11814838
Are you saying that the variable contains all three lines above, with
\r\n's and everything? I can't see how that would happen.
> In this case, the first line looks okay, but the boundary seems too
> long and repeated twice. The IE5 bug was different in that the
> extracted boundary and the first line actually had different 'hex
> values'.
>
> Any thoughts on what might be going on?
Does this happen with every file upload you try? For example, does it
happen when you send just parameters (use multipart/form-data but don't
have any "file" parameters), when you send simple files, and so on?
I've not heard reports about IE4 doing anything like this before so I'm
wondering what's different about your situation.
What server are you using? WebSphere 2.02 has caused a lot of people
problems by returning inaccurate headers. Might that be what you're
using? WS 3.0 appears better.
-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