O'Reilly logo

Head First Servlets and JSP, 2nd Edition by Bert Bates, Bryan Basham, Kathy Sierra

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

A “working” Deployment Descriptor (DD)

Don’t worry about what any of this really means (you’ll see and be tested on this in other chapters). Here, we just wanted to show you a web.xml DD that actually works. The other examples in this chapter were missing a lot of the pieces that go into the opening <web-app> tag. (You can see why we don’t usually include it in our examples.)

The way we usually show it in the book

image with no caption

The way it REALLY works

image with no caption

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