getting filename of an image thats produced with JPEGImageEncoder?
I have something like:
response.setContentType("image/jpeg");
OutputStream output = response.getOutputStream();
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(output);
encoder.encode(bi);
output.close();
The result when executed in a browser is a jpeg image file. What i want to do is get the file name of the generated image so that i can use <img src so that i can integrate it with the layout i have.
Message was edited by:
spear_arrow
Message was edited by:
spear_arrow
Message was edited by:
spear_arrow>

