Attribute Name | Description |
---|
language (language = "java") | Defines the scripting language of the JSP page. |
extends (extends = "package.class") | Defines the parent class that the JSP generated servlet extends. |
import (import = "package.class") | Imports the list of packages, classes, or interfaces into the generated servlet. |
session (session = "true | false") | Specifies if the generated servlet can access the session or not. An implicit object, session, is generated if the value is set to true. The default value of session attribute is true. |
buffer (buffer = "sizekb | none") | Specifies the size of the out buffer. If size is set to none, no buffering is performed. The default value of buffer size is 8 KB. |
autoflush (autoflush = "true | false") | Specifies that the out buffer be flushed automatically if the value is set to true. If the value is set to false, an exception is raised when the buffer is full. The default value of autoFlush attribute is true. |
isThreadSafe (isThreadSafe = "true | false") | Specifies whether a JSP page is threadsafe or not. |
errorPage (errorPage = "url") | Specifies that any un-handled exception generated will be directed to the URL. |
isErrorPage (isErrorPage = "true | false") | Specifies that the current JSP page is an error page, if the attribute value is set to true. The default value of isErrorPage attribute is false. |
contentType (contentType = "MIME-Type") | Defines the Multipurpose Internal Mail Extension (MIME) type for a response. The default value of the contentType attribute is text/html. |