Directives
provide instructions to JSP compiler. 'page' is also a kind of
directive which gives instructions to JSP compiler.
Example
<%@page
contentType="text/html" pageEncoding="UTF-8"%>
page
directive supports below attributes.
autoFlush,
buffer,
contentPage,
errorPage,
extends,
import,
info,
isELIgnored,
isErrorPage,
isThreadSafe,
language,
pageEncoding,
session.
A
jsp page contains any number of page directive. But you can't specify
the attribute more than once, other than 'import' attribute in a
single jsp page.
No comments:
Post a Comment