Hi i am checking page directives but extends page directive is not working.
The below my jsp page
<%@ page language=\"java\" contentType=\"text/html; c
You need to read the JSP specification, particularly section JSP.11.2.4 which sets out a number of requirements for the super class you use with extends and none of which are met by the super class in your question.
...the provided superclass:
- Implements HttpJspPage if the protocol is HTTP, or JspPage otherwise.
- All of the methods in the Servlet interface are declared final.
Additionally, it is the responsibility of the JSP page author that the provided superclass satisfies:
- The service method of the servlet API invokes the _jspService method.
- The init(ServletConfig) method stores the configuration, makes it available via getServletConfig, then invokes jspInit.
- The destroy method invokes jspDestroy.