Which JSP code snippet accomplishes this goal?

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?

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?

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’ %>

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *