> How would I go
about implementing this, since I have to use a intermediary file
You DON'T have to use intermediary file! The simplest (and
not the most optimal) way is to stream the image from servlet. This is as simple
as sending couple of headers to the browser and writing the image data to the
"out". Most good database servers (DB2, Informix etc.) have plugins and
optimizations for media files. I'm not sure about SQL2000.
If they are just a
static images you can store them on disk temporarily as some people suggested,
but than again if they are static why are they in the database in the first
place? If you're manipulating them in any way you may need to stream them
directly from servlet.
The other way it is done is to create image on
Though u may want to consider
performance in both the methods. Below is a jguru link to give u directions.
appreciate all who responded!
How would I go about implementing this, since I
have to use a intermediary file --
Will this intermediary file stay on the
server? If so, how will the clients access that file? I'm just
really up to my ears with this one...
----- Original Message -----
Sent: Tuesday, November 20, 2001
Subject: Re: View Image
The standard practice is to create an intermediary file and cache it
for a fixed period of time for performance reasons. With a standard
HTML page, this may be your only option. One of my clients has
implemented a large imaging application and this the approach that they
Jagdeep Bedi wrote:
Hello all... Seem to have put myself in a little
situation. I have a
database (SQL Server 2000) where my images are stored. What I
would like to do is to retrieve those images directly (no external file)
and view them in a html page. For the twist...this application is a web application and those
images need to be seen by all clients who access that application.
I have read about URL's , but that didn't seem to
work... All help is