Aryan PrajapatKnowledge Contributor
Explain the various directives in JSP.
Explain the various directives in JSP.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Questions | Answers | Discussions | Knowledge sharing | Communities & more.
Directives are instructions processed by JSP Engine. After the JSP page is compiled into a Servlet, Directives set page-level instructions, insert external files, and define customized tag libraries. Directives are defined using the symbols below:
start with “”
The various types of directives are shown below:
Include directive
It includes a file and combines the content of the whole file with the currently active pages.
Page directive
Page Directive defines specific attributes in the JSP page, like the buffer and error page.
Taglib
Taglib declares a custom tag library, which is used on the page.