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

What are the implicit objects in jsp?

905


Can we override jspinit method?

938


What is auto-flush attribute?

948


What are the two types of comments supported by jsp?

882


What is the difference between java servlet and jsp?

874


What are the advantages of jsp?

931


How to deactivate el on jsp?

903


How jsp is executed?

822


how can i add properties in dynamic text fields using .js file?

2236


How can I set a cookie and delete a cookie from within a jsp page?

929


What are the advantages of jsp over servlet?

977


What is the jsp:setproperty action?

909


How are the jsp requests handled?

888


What is jsp and its features?

888


What are the implicit, internal objects and methods on the jsp page?

838