Java : Servlet issues
This page last changed on Feb 08, 2006 by Kees de Kooter
Outputting images from a servlet method:
resp.setContentType("image/gif");
OutputStream? binOut = resp.getOutputStream();
byte [] bytes = gettingBinaryData();
binOut.write(bytes);