What is extends attribute in JSP?

JSPObject Oriented ProgrammingProgramming

The extends attribute specifies a superclass that the generated servlet must extend.

For example, the following directive directs the JSP translator to generate the servlet such that the servlet extends somePackage.SomeClass

<%@ page extends = "somePackage.SomeClass" %>
raja
Published on 20-Mar-2019 07:59:52
Advertisements