![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are various attributes Of page directive in JSP?
Following table lists out the attributes associated with the page directive −
S.No. | Attribute & Purpose |
---|---|
1 | buffer Specifies a buffering model for the output stream. |
2 | autoFlush Controls the behavior of the servlet output buffer. |
3 | contentType Defines the character encoding scheme. |
4 | errorPage Defines the URL of another JSP that reports on Java unchecked runtime exceptions. |
5 | isErrorPage Indicates if this JSP page is a URL specified by another JSP page's errorPage attribute. |
6 | extends Specifies a superclass that the generated servlet must extend. |
7 | import Specifies a list of packages or classes for use in the JSP as the Java import statement does for Java classes. |
8 | info Defines a string that can be accessed with the servlet's getServletInfo() method. |
9 | isThreadSafe Defines the threading model for the generated servlet. |
10 | language Defines the programming language used in the JSP page. |
11 | session Specifies whether or not the JSP page participates in HTTP sessions |
12 | isELIgnored Specifies whether or not the EL expression within the JSP page will be ignored. |
13 | isScriptingEnabled Determines if the scripting elements are allowed for use. |
Advertisements