I think the original question refers to a video rather than an image. All I believe is required is to:
i) Set the content header to the appropriate type - find out the relevant one for mpg/avi/rm etc. ii) Then just stream it to the OutputStream of the HttpServletResponse object. To the browser it will seem like just a normal video file and it can deal with it appropriately. Regards, Peter -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of Martin Sent: 25 August 2002 02:54 To: [EMAIL PROTECTED] Subject: Re: Using JSP to display blob as video Deepak- assuming you already have a DB connection- 1)you retrieve the image from the db into a file on the server and display the image in a servlet using hte<img> tag, OR 2)Use a servlet for displaying the image by setting response.setContentType("image/gif") and then open the connection to DB read the blob display the image -Martin ----- Original Message ----- From: "Deepak D Uzagare" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 12:41 AM Subject: Using JSP to display blob as video > My BLOB object is a video file .Please suggest me a way to display this video file using jsp > > ======================================================================== === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > > Some relevant archives, FAQs and Forums on JSPs can be found at: > > http://java.sun.com/products/jsp > http://archives.java.sun.com/jsp-interest.html > http://forums.java.sun.com > http://www.jspinsider.com > ======================================================================== === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com