The extends attribute designates the superclass of the servlet that will be generated for the JSP page. It takes the following form.
<%@ page extends=" package.class " %>
This attribute is normally reserved for developers or vendors that implement fundamental changes to the way in which pages operate (e.g., to add in personalization features). Ordinary mortals should steer clear of this attribute except when referring to classes provided by the server vendor for this purpose.