Introduction to the Java EE learning-jsp directive

Source: Internet
Author: User

JSP directives (Directive) are designed for the JSP engine, and they do not directly produce any visible output, but simply tell the engine how to handle the rest of the JSP page.

The three directives are defined in the JSP 2.0 specification:

  • Page directive
  • Include directives
  • TAGLIB directive
    • The full syntax of the page directive defined in the JSP 2.0 specification:
  • <%@ Page [language= "Java" ]     [ extends= "Package.class" ]     [ Import= "{Package.class | package.*}, ..."] [Session= "true | False] [Buffer= "None | 8kb | SIZEKB "] [AutoFlush= "true | False] [IsThreadSafe= "true | False] [Info= "Text"] [ErrorPage= "Relative_url"] [Iserrorpage= "true | False] [ContentType= "MimeType [; Charset=characterset]" | "Text/html; Charset=iso-8859-1 "] [pageencoding= "CharacterSet | Iso-8859-1 "] [iselignored= "true | False ] %>
    [Email protected]instructionStatic inclusions.The 2.jsp:include instruction is dynamically included.

Introduction to the Java EE learning-jsp directive

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.