Article View: borland.public.jbuilder.java.language
Article #8461How to pass Image as a stream to browser via JSP?
From: se wen
Date: Wed, 21 Mar 2001 18:55
Date: Wed, 21 Mar 2001 18:55
11 lines
1231 bytes
1231 bytes
Hi everyone, What I am trying to do is take a snapshot of a dynamically developed chart then Encode the image of it (preferably JPEG) so that it can be passed to a browser via JSP. I would prefer to stream the image to the browser and not create a file. Is there a method that would allow me to do this? I have seen examples where this can be done using Servlets. If you have any suggestions I would appreciate them. Thank you, Se Wen
Technical Details
Message-ID:
<3ab8f89d_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!129.93.20.70Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,14571df433d8b156,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-23 04:08:04 PST From: "se wen" <se_wen@nightmail> Newsgroups: borland.public.jbuilder.java.language Subject: How to pass Image as a stream to browser via JSP? Date: Wed, 21 Mar 2001 12:55:12 -0600 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 129.93.20.70 Message-ID: <3ab8f89d_2@dnews> X-Trace: 21 Mar 2001 10:53:17 -0800, 129.93.20.70 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!129.93.20.70