Skip to Main Content
Special Edition Using Java™ Server Pages and Servlets
book

Special Edition Using Java™ Server Pages and Servlets

by Mark Wutka
October 2000
Intermediate to advanced content levelIntermediate to advanced
768 pages
16h 30m
English
Que
Content preview from Special Edition Using Java™ Server Pages and Servlets

Chapter 27. Creating On-the-Fly Graphics

Images Aren't Just Static Files

By now you know that you can generate all kinds of output from servlets and Java Server Pages. So far, the one common denominator in the various forms of output has been the fact that they are all readable text. You might be surprised to discover, however, that you can send images from a servlet! Sending an image from a servlet is not the same thing as sending an <img> tag back in an HTML response. Instead, you create an actual JPEG image from inside the servlet and send it back.

Image ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

J2EE™ and JAX™: Developing Web Applications and Web Services

J2EE™ and JAX™: Developing Web Applications and Web Services

Michael Yawn
J2EE™ Applications and BEA™ WebLogic Server™

J2EE™ Applications and BEA™ WebLogic Server™

Michael Girdley, Rob Woollen, Sandra L. Emerson

Publisher Resources

ISBN: 0789724413Purchase book