nerdexam
Oracle

1Z0-899 · Question #119

Every page of your web site must include a common set of navigation menus at the top of the page. This menu is static HTML and changes frequently, so you have decided to use JSP's static import…

The correct answer is D. <%@ include file='/common/menu.html' %>. See the full explanation below for the reasoning.

Question

Every page of your web site must include a common set of navigation menus at the top of the page. This menu is static HTML and changes frequently, so you have decided to use JSP's static import mechanism. Which JSP code snippet accomplishes this goal?

Options

  • A<%@ import file='/common/menu.html' %>
  • B<%@ page import='/common/menu.html' %>
  • C<%@ import page='/common/menu.html' %>
  • D<%@ include file='/common/menu.html' %>
  • E<%@ page include='/common/menu.html' %>
  • F<%@ include page='/common/menu.html' %>

How the community answered

(46 responses)
  • A
    13% (6)
  • C
    2% (1)
  • D
    76% (35)
  • E
    7% (3)
  • F
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice