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 13. Creating More Powerful Servlets

Yesterday you took an introductory look at working with Java servlets. Today, you'll see more of the story, such as supporting Model/View/Controller (MVC) architecture, user authentication, and more. Here are today's topics:

  • Working with servlet sessions

  • Working with servlet contexts

  • Storing and retrieving data in sessions and servlet contexts

  • Forwarding to a new servlet

  • Including a servlet in a servlet's response

  • Invoking JSP pages from servlets

  • Model-View-Controller (MVC) architecture

  • JSP Model 1 versus JSP Model 2 architecture

  • Implementing user authentication (usernames and passwords)

There's a great deal of power in servlets, and today you'll get to see more of what they have to offer.

Tip

For more on servlets, ...

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