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 is the page directive is used to prevent a jsp page from automatically creating a session?

640


What is the include directive?

612


What are the jsp standard actions?

614


Mention the jstl core tags.

611


What is difference between html and jsp?

573






What is cookie with example?

584


Which two interfaces does the javax servlet jsp package have?

823


What are the advantages of jsp?

607


Which jsp method cannot be overridden?

602


What is difference between custom jsp tags and beans?

646


Is jsp a programming language?

559


Give the syntax for jsp comments.

578


hpcl information systems officer 2008 Question Papers or any last previous questions papers thanks in advance shyamprasad71@gmail.com shyamprasad71@gmail.com

1843


What is JTGrid?

2071


How does a servlet communicate with a jsp page?

625