O'Reilly logo

Sams Teach Yourself JavaServer Pages™ in 21 Days by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required