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 literals used in jsp?
How can I maintain session in JSP Page in the bases of user name and password:
What is jsp scriptlet tag used for?
What is include directive in jsp?
What are the jsp elements?
Which jsp life cycle is in correct order?
How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?
How does el search for an attribute?
What is the use of implicit object named "application" in Application?
Can you disable jsp scripting?
Hi, We developed a webpage using jsp for our team, now we need to know who are employees opening this page,i.e, we need to get the windows user name when ever he/she open the page and stores into a variable. Plz help on this
What is response sendredirect?
What is jsp declaration?
How can I extend the functionality of jsp?
What are the two kinds of comments in jsp and what's the difference between them ?