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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.