Hey a servlet cant extend a class or servlet a it already extends HTTpServlet.....But if you can make the servlet work withought extending HTTpSERvlet then u can do that...but then as far as i know it wontb a servlet and will be somple classjsp can exend a class:By using page directive we can extends anothe class <%@ include page extends="classname" %>
Category:JSP Interview Questions
No comments:
Post a Comment