Coffee Cram: Chapter 10 Answers
How can a Classic tag handler instruct the container to ignore the remainder of the JSP that invoked the tag? (Choose all that apply.)
(JSP v2.0 pg 2-56)

A.
The
doEndTag()method should returnTag.SKIP_BODY.
B.
The
doEndTag()method should returnTag.SKIP_PAGE.
C.
The
doStartTag()method should returnTag.SKIP_BODY.
D.
The
doStartTag()method should returnTag.SKIP_PAGE.Note
-Option A is invalid because this is not a valid return value for doEndTag().
-Option C is invalid because it only causes the body of the tag to be skipped.
-Option D is invalid because this is not a valid return value for doStartTag().
Which directives and/or standard actions are applicable ONLY within tag files? (Choose all that apply.)

A.
tag
B.
page
C.
jsp:bodyD.
jsp:doBodyE.
taglibNote
(JSP v2.0 8.5 (pg 1-179) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access