Answer Posted / dhruba
Directive tag:
The directive tag gives special information about the page
to JSP Engine. This changes the way JSP Engine processes
the page. Using directive tag, user can import packages,
define error handling pages or session information of JSP
page.
General notation of directive tag is as follows:
There are three types of directive tag.
page
Include
Tag Lib
Syntax and usage of directive tag
page directive:
General syntax for the page directive is
<%@ page optional attribute ... %>
There are many optional attributes available for page
directive. Each of these attributes are used to give
special processing information to the JSP Engine changing
the way the JSP Engine processes the page. Some of the
optional attributes available for page directive are:
language
extends
import
session
buffer
autoFlush
isThreadSafe
info
errorPage
IsErrorPage
contentType
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the ways to insert java code into jsp page?
What is directive jsp?
What are custom tags?
Is jsp a front end?
How can we disable el?
How can we avoid direct access of jsp pages from client browser?
How to deactivate el on jsp?
Can we use the exception implicit object in any jsp page?
Why does jcomponent have add() and remove() methods but the component does not?
Can I run jsp on xampp?
How are the jsp requests handled?
What is difference between jspwriter and servlet printwriter?
Which method cannot be overridden in jsp?
What is context in jsp?
Why is jstl used?