What are various attributes Of page directive in JSP?


Following table lists out the attributes associated with the page directive −

S.No.Attribute & Purpose
1buffer
Specifies a buffering model for the output stream.
2autoFlush
Controls the behavior of the servlet output buffer.
3contentType
Defines the character encoding scheme.
4errorPage
Defines the URL of another JSP that reports on Java unchecked runtime exceptions.
5isErrorPage
Indicates if this JSP page is a URL specified by another JSP page's errorPage attribute.
6extends
Specifies a superclass that the generated servlet must extend.
7import
Specifies a list of packages or classes for use in the JSP as the Java import statement does for Java classes.
8info
Defines a string that can be accessed with the servlet's getServletInfo() method.
9isThreadSafe
Defines the threading model for the generated servlet.
10language
Defines the programming language used in the JSP page.
11session
Specifies whether or not the JSP page participates in HTTP sessions
12isELIgnored
Specifies whether or not the EL expression within the JSP page will be ignored.
13isScriptingEnabled
Determines if the scripting elements are allowed for use.

karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know

Updated on: 30-Jul-2019

401 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements