Assume the tag handler for a st:simple tag extends SimpleTagSupport. In what way can scriptlet
code be used in the body of st:simple?
A.
set the body content type to JSP in the TLD
B.
Scriptlet code is NOT legal in the body of st:simple.
C.
add scripting-enabled=”true” to the start tag for the st:simple element
D.
add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and
place the scriptlet code in the body of that tag
Explanation:
Yes B Simple Tag (Tag File and Dimple Tag Handler ) can’t have body-content= JSP in their tlds