nerdexam
Oracle

1Z0-899 · Question #157

View the exhibit. Assume the tag library in the exhibit is placed in a web application in the path /WEB- INF/tld/example.tld. 1. 2. <ex:hello /> Which JSP code, inserted at line 1, completes the JSP…

The correct answer is D. <%@ taglib prefix="ex". See the full explanation below for the reasoning.

Question

View the exhibit. Assume the tag library in the exhibit is placed in a web application in the path /WEB- INF/tld/example.tld. 1. 2. <ex:hello /> Which JSP code, inserted at line 1, completes the JSP code to invoke the hello tag?

Exhibit

1Z0-899 question #157 exhibit

Options

  • A<%@ taglib prefix="ex" uri="/WEB-INF/tld" %>
  • B<%@ taglib uri="/WEB-INF/tld/example.tld" %>
  • C<%@ taglib prefix="ex"
  • D<%@ taglib prefix="ex"

How the community answered

(21 responses)
  • A
    10% (2)
  • B
    10% (2)
  • C
    5% (1)
  • D
    76% (16)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice