O'Reilly logo

Web Technology: Theory and Practice by M. Srinivasan

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

5.10 SUMMARY

We have seen the importance of server side in a typical dynamic web application. In the Java world, the concept of server side has been introduced through Servlet technology which has its own lifecyle, supported within the context of the Servlet container as part of an application server. Servlets can act as the Controller in an MVC application. We have also seen how they can react to events (listeners), work in a session and leverage Cookies within an application.

EXERCISES
  1. Name some of the practical ways which Init() can be useful in the context of a Servlet.
  2. Examine the differences between GenericServlet and HttpServlet.
  3. What are the differences between Request attribute and Request parameter?
  4. What are the ways to create a session? ...

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