I have two servlets that cooperate. The first servlet get's an request,
does some processing and after sends a plain html page to the browser. The
generated html file contains a image link which points to the secods
servlet. The second servlet should normaly accept the request from the
browser and send a binary image back to the requesting browser.

Everything works fine with Netscape, but with Internet Expoler there is a
sligh differece. Internet Expoler normaly sends a request to the second
servlet in the chain asking the image. The servlet tries to send the image
for the first time, but not succsefully (I get the following exception
while trying to write to the OutputStream : java.net.SocketException:
Software caused connection abort). After the exception, Internet Explorer
notices that the socket has been closed and then tries again. On the second
attempt  the servlet manages to send the image!

Does anyone have any idea, why this is happening ?

Best Regards
Filippos Slavik


################################################################
Filippos Slavik
Forthnet R&D, Hrakleio, Greece
e-mail : [EMAIL PROTECTED]
phone : (+3) 081 391230
################################################################

"The software said 'runs on Win95 or better,' so I installed it
on Linux..."

___________________________________________________________________________
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

Reply via email to