This directive is used to provide instructions to the container related to the current page. This directive can be coded anywhere in the JSP but formal users usually used to do it in the top of the page. Syntax of page directive can be written as below: <%@ page attribute=”value” %> Or in the form…