Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are actions and directives in jsp?

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


Please Help Members By Posting Answers For Below Questions

How can my application get to know when a httpsession is removed?

975


How do I use a scriptlet to initialize a newly instantiated bean?

929


What is the jspdestroy() method?

979


What is a declaration?

918


List out some advantages of using jsp.

989


How do we catch exception and process it using jstl?

942


Why is jsp used for?

914


How can multiple submits due to refresh button clicks be prevented?

982


What is session scope?

929


What are the jsp elements?

869


What language is jsp?

1003


What is iselignored in jsp?

953


What jsp lifecycle methods can I override?

1091


How is scripting disabled?

992


Give the use of exception object.

921