Java Tutorial/JSP/Page Directive Attributes

Материал из Java эксперт
Перейти к: навигация, поиск

Page directive attributes: autoFlush, buffer, contentType, errorPage, extends, import, info, language, pageEncoding, session

   <source lang="java">

<%@ page autoFlush="true"

        buffer="16kb"
        contentType="text/html"
        errorPage="myErrorPage.jsp"
        extends="org.apache.jasper.runtime.HttpJspBase"
        import="java.sql.*"
        info="This page has a set of page directive attributes"
        language="java"
        pageEncoding="UTF-8"
        session="false"

%> <HTML>

 <HEAD><TITLE>Page directive attributes</TITLE></HEAD>
 <BODY>
   The JSP page used to generate this content defined values for all of the page directive"s attributes.
 </BODY>

</HTML></source>