Coffee Cram: Mock Exam Chapter 10

  1. How can a Classic tag handler instruct the container to ignore the remainder of the JSP that invoked the tag?

    (Choose all that apply.)

    A.

    The doEndTag() method should return Tag.SKIP_BODY.

    B.

    The doEndTag() method should return Tag.SKIP_PAGE.

    C.

    The doStartTag() method should return Tag.SKIP_BODY.

    D.

    The doStartTag() method should return Tag.SKIP_PAGE.

  2. Which directives and/or standard actions are applicable ONLY within tag files? (Choose all that apply.)

    A.

    tag

    B.

    page

    C.

    jsp:body

    D.

    jsp:doBody

    E.

    taglib

  3. A medical website hides selective content from users who are not registered. In ...

Get Head First Servlets and JSP, 2nd Edition 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.