Directives, as the name suggests, are direction or instructions for the container to follow when translating a JSP to a servlet. There are 3 directives namely page, include and taglib which you can use in your JSP.
Below is a simple example of using page directive:
<%@ page isErrorPage="tr...