nerdexam
Oracle

1Z0-899 · Question #72

Under what two circumstances is the setJspBody method NOT called in a tag class that implements the SimpleTag interface? (Choose two.)

The correct answer is A. The tag is invoked without a body. C. The <body-content> element has the value empty. See the full explanation below for the reasoning.

Question

Under what two circumstances is the setJspBody method NOT called in a tag class that implements the SimpleTag interface? (Choose two.)

Options

  • AThe tag is invoked without a body.
  • BThe doTag method throws an exception.
  • CThe <body-content> element has the value empty.
  • DThe tag is called with the attribute skip-body=true.

How the community answered

(54 responses)
  • A
    83% (45)
  • B
    11% (6)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice