what way can scriptlet code be used in the body of st:simple?

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?

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:



Leave a Reply 1

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


giuseppe

giuseppe

Yes B Simple Tag (Tag File and Dimple Tag Handler ) can’t have body-content= JSP in their tlds