-
1. Re: Redirect/Forward Not working for multipart/form-data - w
adrian.brock Jan 8, 2002 8:12 PM (in response to jimotte)Without testing this myself, have you tried
InputStream.close() or does lead IE to assume the
page is broken?
Regards,
Adrian -
2. Re: Redirect/Forward Not working for multipart/form-data - w
jimotte Jan 8, 2002 8:48 PM (in response to jimotte)Yes, Adrian- I tried that too- but to no avail- if the stream is closed before it is completely read it will still not redirect in IE.
The only times it redirects without reading the stream completely is when the uploaded file is very small- I think IE has opened up a socket connection and until all the packets have arrived the browser will not close the connection. So when there is a redirect command with outstanding packets still there- it does redirect as the browser still has the connection open.
Perhaps if there were a way of closing the connection (without messing with the innards of Tomcat preferably)- that might work....This of course is speculation...
It seems like there must be some way without reading in a potentially large file.... -
3. Re: Redirect/Forward Not working for multipart/form-data - w
jimotte Jan 8, 2002 8:51 PM (in response to jimotte)meant to say (from last post):
So when there is a redirect command with outstanding packets still there- it does NOT redirect as the browser still has the connection open -
4. Re: Redirect/Forward Not working for multipart/form-data - w
adrian.brock Jan 8, 2002 9:44 PM (in response to jimotte)I don't think there's much you can do if the browser
has wont read the response until the request has
been completed :-(
Regards,
Adrian