The basic mechanism is to set the Content Type and Length, get the
OutputStream from the Request, getBinaryStream from JDBC and loop through
reading from the JDBC Input Stream and writing to the Servlet Output Stream.
(*Chris*)
- Original Message -
From: "Emmanuel Eze" <[EMAIL PROTECTED
Or read pp. 175-180 in Jason's 2d edition.
Mark
-Original Message-
From: M. E. Zawadzki [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 7:57 AM
Same answer as jdjlist - use google .
PS. read http://www.tuxedo.org/~esr/faqs/smart-questions.html
--- Emmanuel Eze <[EMAIL PRO
Same answer as jdjlist - use google .
PS. read http://www.tuxedo.org/~esr/faqs/smart-questions.html
--- Emmanuel Eze <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can someone please advise me on how to serve a JPEG image that is stored as
> a binary stream in a database?
>
>
> Thanks
>
>