A Rokanuzzaman wrote:
>
> Can anyone help me why the servlet does not send multiple images.

Millions of web sites have multiple images which are correctly requested by
the browser, served by the web server and rendered by a browser. If your
client/servlet can't do it, it's most likely an error in the code someplace.

- are you sure that multipl requests are sent by the client
- are you sure multiple requests are received by the servlet?
- is your servlet thread-safe?
- does your servlet generate both images? does it send both images?

If the servlet sends both images, but the browser only gets one, the most
likely problem is that the servlet is sending both images on the same output
stream. This usually results from treating the output stream reference as a
member variable rather than a method variable.

___________________________________________________________________________
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