nerdexam
Oracle

1Z0-899 · Question #70

You are creating a content management system (CMS) with a web application front-end. The JSP that displays a given document in the CMS has the following general structure: The citation tag must…

The correct answer is A. public void doTag() {. See the full explanation below for the reasoning.

Question

You are creating a content management system (CMS) with a web application front-end. The JSP that displays a given document in the CMS has the following general structure: The citation tag must store information in the document tag for the document tag to generate a reference section at the end of the generated web page.The document tag handler follows the Classic tag model and the citation tag handler follows the Simple tag model. Furthermore, the citation tag could also be embedded in other custom tags that could have either the Classic or Simple tag handler model. Which tag handler method allows the citation tag to access the document tag?

Exhibit

1Z0-899 question #70 exhibit

Options

  • Apublic void doTag() {
  • Bpublic void doStartTag() {
  • Cpublic void doTag() {
  • Dpublic void doStartTag() {

How the community answered

(38 responses)
  • A
    82% (31)
  • B
    11% (4)
  • C
    5% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice