We can use extends attribute in include tag to use an existing class and extend it in the current JSP.
<%@ include page extends=“parent_class” %>
Your email address will not be published. Required fields are marked *
Notify me of follow-up comments by email.
Notify me of new posts by email.