Pusca Ovidiu wrote:
>
>   I'm interested to receive some detailed information about the using of an
> img tag source (src) when calling a servlet from a web page. How this can be
> done and is it a good solution when you receive thousands of requests in the
> same time?

Generally, you would want the web server to handle this without calling
the servlet. The web server is already designed to serve images and
other content. However, there may be reasons for having the servlet
service the image request. For example, you may want to do some
additional processing to the image, or you may need to verify
authorization before serving the image, or the images may be stored in a
database, etc.

Searching the list archives for "image" since Oct 2000 finds 38 matches
including:
http://archives.java.sun.com/cgi-bin/wa?A2=ind0101&L=servlet-interest&P=R46161

Hunter's Java Servlets (http://www.servlets.com/) book had a chapter on
serving multimedia content through a servlet. Look for the examples for
chapter 6.

http://www.jguru.com/jguru/faq/faqindex.jsp?title=FAQ+Entries+in+Topic+Java%3AAPI%3AServlets%3AImages&topic=52027
http://www.jguru.com/jguru/faq/faqindex.jsp?title=FAQ+Entries+in+Topic+Java%3AAPI%3AServlets%3AFiles&topic=52023

KMukhar

___________________________________________________________________________
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