JSP Directives

In this JSP tutorial, you will learn about Directive tag with example, page directive, language, extends, import, session and buffer.

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

Leave a Reply

Your email address will not be published. Required fields are marked *