11.12. XML Syntax for Directives
JSP permits you to use an alternative XML-compatible syntax for directives. These constructs take the following form:
<jsp:directive.directiveType attribute="value" />
For example, the XML equivalent of
<%@ page import="java.util.*" %>
is
<jsp:directive.page import="java.util.*" />
Get Core Servlets and JavaServer Pages™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.