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)- A13% (6)
- C2% (1)
- D76% (35)
- E7% (3)
- F2% (1)
Community Discussion
No community discussion yet for this question.