This tutorial contains description of extends attribute of page Directive.
extends Attribute :
This attribute specifies the super class of the JSP page's implementation servlet. It allows you to inherit a class that is super class of the class created by runtime compiling this JSP page. It is rarely used.
<%@ page extends="package.class" %>
By default HttpJspBase is the super class in translated servlet in Tomcat.
Suppose you want another super class in place of HttpJspBase then use extends.
<%@page language="java" extends="javax.servlet.http.HttpServlet"%>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.