Why we can't implement interface in JSP?Why we can only extend classes in JSP?

Showing Answers 1 - 1 of 1 Answers

Sandeep Jindal

  • Oct 19th, 2005
 

Implementing an interface means providing a specific behavior to your class. Since jsp are to be interpreted by servlet-container and will then be executed as a servlet, it cant be used for that extended behavior. Thus no use of implementing it.Sandeep Jindal

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions