Chapter 1. Servlet Methods and Life Cycle

Terms you'll need to understand:

  • Redirection

  • Servlet life cycle

  • Servlet forwarding and includes

  • Servlet attribute

  • Context parameters

  • Application session

  • GET, POST, PUT

  • Session

  • Scope

  • Listeners

Techniques you'll need to master:

  • Retrieve HTML form parameters from the request.

  • Retrieve a servlet initialization parameter.

  • Retrieve HTTP request header information.

  • Set an HTTP response header. Set the content type of the response.

  • Acquire a text or binary stream for the response.

  • Redirect an HTTP request to another URL.

  • Identify triggers and benefits that cause a browser to use HTTP methods GET, POST, and HEAD.

  • Access values and resources within request, session, and context scopes.

  • Know the purpose and sequence of the servlet life ...

Get Java™ 2 Enterprise Edition (J2EE™) Web Component Developer Exam Cram™ 2 (Exam 310-080) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.