Re: [appengine-java] Re: help! output Image to a webpage

2009-12-16 Thread Yiming Li
Thank you! it works perfectly! On Wed, Dec 16, 2009 at 12:24 PM, andy wrote: > You need to do this differently. Serve one HTML page that includes > tags for your X pictures. The src url for > the pictures then points to a servlet that take the URL parameter of > the picture ID, load the data a

[appengine-java] Re: help! output Image to a webpage

2009-12-16 Thread andy
You need to do this differently. Serve one HTML page that includes tags for your X pictures. The src url for the pictures then points to a servlet that take the URL parameter of the picture ID, load the data and write it to the stream. Servlet code also needs to set the content type to "image/jpg