How will you use an existing class and extend it to use in the JSP?

We can use extends attribute in include tag to use an existing class and extend it in the current JSP.

E.g.

<%@ include page extends=“parent_class” %>

Leave a Reply

Your email address will not be published. Required fields are marked *