Java Servlet Programming, 2nd Edition > 6. Sending Multimedia Content |
Chapter 6. Sending Multimedia ContentUntil now, every servlet we've written has returned a standard HTML page. The web consists of more than HTML, though, so in this chapter we'll look at some of the more interesting things a servlet can return. We'll start by looking at the new WAP protocol and the WML markup language used by cell phones and mobile devices and see how servlets can use this new technology. Then we'll show how to generate images dynamically from a servlet to create charts and manipulate pictures. Toward the end of the chapter we'll explore when and how to send a compressed response and examine using multipart responses to implement server push.
|