nerdexam
Oracle

1Z0-899 · Question #71

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?

The correct answer is B. Scriptlet code is NOT legal in the body of st:simple. See the full explanation below for the reasoning.

Question

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?

Options

  • Aset the body content type to JSP in the TLD
  • BScriptlet code is NOT legal in the body of st:simple.
  • Cadd scripting-enabled="true" to the start tag for the st:simple element
  • Dadd a pass-through Classic tag with a body content type of JSP to the body of st:simple, and place

How the community answered

(37 responses)
  • A
    5% (2)
  • B
    81% (30)
  • C
    3% (1)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice