wrote in message
news:rvKdnXd0oMEj2pnbnZ2dnUVZ_h_inZ2d@comcast.com...
> If you are running a servlet engine you can have a servlet stream the
image,
> and use that servlet as the img tag's src.
Is the magic in the URL? Can I see the whole
tag? Or does the http
request not change and it's the server that let's you specify a DSO other
than a file to satisfy the GET?
Cheers Richard Maher
"Lew" wrote in message
news:rvKdnXd0oMEj2pnbnZ2dnUVZ_h_inZ2d@comcast.com...
> Richard Maher wrote:
> >> PPS. If I was holding a series of say employee photographs/images as
> >> blobs
> >> in a database, can anyone tell me how I would get one of them up into a
> >> web-browser without first having to export it to a .jpeg/.bmp/.gif
> >> file? I
> >> must have missed something? I know http servers/browsers are optimized
to
> >> have seperate threads for uploading images but nonetheless, what's the
> >> alternative? Can I pass an BufferedImage back from an applet to
> >> Javascript?
> >> (And then what would it do with it without a SRC="#something"?)
>
> Arne Vajhøj wrote:
> > You can do a IMG tag with SRC pointing to a server side script that
> > sends the image from the database to the browser with the correct
> > content type.
> >
> > Or you can use an applet that retrieves the images via socket
> > and displays it within the applet.
>
> If you are running a servlet engine you can have a servlet stream the
image,
> and use that servlet as the img tag's src.
>
> I recently implemented such a thing after googling around for some code.
>
> -- Lew