Which two are true about the tag handler referenced by foo?

Given:
6. <myTag:foo bar=’42’>
7. <%=”processing” %>
8. </myTag:foo>
and a custom tag handler for foo which extends TagSupport.
Which two are true about the tag handler referenced by foo? (Choose two.)

Given:
6. <myTag:foo bar=’42’>
7. <%=”processing” %>
8. </myTag:foo>
and a custom tag handler for foo which extends TagSupport.
Which two are true about the tag handler referenced by foo? (Choose two.)

A.
The doStartTag method is called once.

B.
The doAfterBody method is NOT called.

C.
The EVAL_PAGE constant is a valid return value for the doEndTag method.

D.
The SKIP_PAGE constant is a valid return value for the doStartTag method.

E.
The EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *