Click the Exhibit button.
The h:highlight tag renders its body, highlighting an arbitrary number of words, each of which is
passed as an attribute (word1, word2, …). For example, a JSP page can invoke the h:highlight tag
as follows:
11. <h:highlight color=”yellow” word1=”high” word2=”low”>
12. high medium low
13. </h:highlight>
Given that HighlightTag extends SimpleTagSupport, which three steps are necessary to
implement the tag handler for the highlight tag? (Choose three).
A.
add a doTag method
B.
add a doStartTag method
C.
add a getter and setter for the color attribute
D.
create and implement a TagExtraInfo class
E.
implement the DynamicAttributes interface
F.
add a getter and setter for the word1 and word2 attributes
Explanation: