Jsp2.0 standardizes 13 attributes of page commands
Language = "scriptinglanguage"
It mainly specifies the language used by JSP Container to compile JSP web pages. According to the JSP 2.0 specification, only Java languages can be used currently, but other languages such as C, C ++, and Perl cannot be added in the future. The default value is Java.
Extends = "classname"
It mainly defines the parent class that the servlet generated by this JSP page inherits.
Import = "importlist"
Mainly defines the Java APIs that can be used by this JSP page
Session = "True | false"
Determines whether the JSP page can use the session object. The default value is true.
Buffer = "None | size in KB"
Determines whether the output stream has a buffer. The default value is an 8 KB buffer.
Autoflush = "True | false"
Determines whether the buffer of the output stream needs to be cleared automatically. If the buffer is full, an exception will occur ). The default value is true.
Isthreadsafe = "True | false"
It mainly tells JSP Container that the JSP webpage can process more than one request. The default value is true. If this value is set to false, singlethreadmodel will be used. Singlethreadmodel has declared in servlet 2.4 that it is not in favor of deprecate)
Info = "text"
It mainly indicates information about the JSP page.
Errorpage = "error_url"
Indicates that if an exception occurs, the webpage will be directed to that URL again.
Iserrorpage = "True | false"
Indicates whether the JSP page is a webpage that handles abnormal errors.
Contenttype = "ctinfo"
Mime Type and JSP webpage encoding method
Pageencoding = "ctinfo"
Indicates the encoding method of the JSP webpage.
Iselignored = "True | false"
Whether to execute or ignore the El expression in this JSP page. If it is true, the JSP Container ignores the El expression. If it is false, the El expression is executed.