O'Reilly logo

Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions by Budi Kurniawan

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 3. Writing Servlet Applications

Writing Servlet Applications

In the previous chapters, you have learned how to write servlets, run them in the servlet container, and invoke them from a web browser. You also have studied various classes and interfaces in the javax.servlet package and learned how to solve the problem introduced by a multi-threaded servlet.

When you are programming servlets, however, you will work with another package called javax.servlet.http. The classes and interfaces in this package derive from those in javax.servlet; however, the members of the javax.servlet.http package are much richer and more convenient to use. In this package, the HttpServlet ...

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