Chapter 20. Creating Images on the Fly and Handling Internet Programming
Welcome to Day 20! Many books on programming include discussions on graphics, and you might think that's impractical with JSP because the code is on the server, and the results in the browser. But in fact, you can create images on the server and send them to the browser, as you'll see today. You'll also get an introduction to Internet programming, including how to retrieve Web pages from the Web, and even how to create a mini-Web server using Java. Here are today's topics:
Creating images on the fly
Sending images back to the browser
Java drawing techniques
Embedding returned images in HTML documents
Reading Web documents directly from servers
Creating a mini-Web server
Today's ...
Get Sams Teach Yourself JavaServer Pages™ in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.