previous
|
index
|
next
Sending Binary Information Example
Sending a dynamically produced image:
A
DynamicImage
Servlet.
Sets content type to
image/jpeg
,
Draws a
BufferedImage
,
Gets a response output stream,
Wraps the stream in a
JPEGImageEncoder
, and
Gives the output stream to the encoder.
http://redrock.d.umn.edu:8082/jspbook/DynamicImage
previous
|
index
|
next