Can you be more specific as to whats (not) happening? Are you getting
anything? How are you calling it?
-Original Message-
From: Josh G [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 3:59 PM
To: [EMAIL PROTECTED]
Subject: Image download?
Hi, I have a servlet that's t
Hi!
I don't know if this will help you, but I use the ImageIO classes for
exactly the same purpose. Works great for me. I first create a
BufferedImage and then write it to the response.
The code looks something like this:
BufferedImage bi; //make your BufferedImage from whatever
response.setCon
At 09:58 AM 10/02/2004, you wrote:
Fix0r3d. For the archives, here's the fix:
//Set content-type
ServletContext context = getServletContext();
response.setContentType(context.getMimeType(media.getLocation()));
//Open file
Hi, I have a servlet that's trying to send image files instead of a html
response that doesn't seem to be working. Here's the code in question:
//Set content-type
ServletContext context = getServletContext();
response.setContentType(context.getMimeT