Chapter 8. JavaServer Pages (JSP)

Terms you'll need to understand:

  • JavaServer Pages (JSP)

  • Servlet

  • Directive

  • Expression

  • Scriptlet

  • Implicit object

  • JSP container

  • JSP page life cycle

  • Tag library

  • Web application

Techniques you'll need to master:

  • Write and use JSP tags.

  • Given a JSP tag type, use the equivalent XML-based tags.

  • Use the page directive.

  • Import a Java class into the JSP page.

  • Use a session in a JSP page.

  • Declare that a JSP page is or uses an error page.

  • Understand the JSP page life cycle.

  • Use JSP's implicit objects: request, response, out, session, config, application, page, pageContext, and exception.

  • Write scriptlet code.

JavaServer Pages is Sun's technology for giving nonprogrammers a way to contribute to a Web application on the J2EE platform. It makes up ...

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.