File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Jsp implement interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Jsp implement interface" Watch "Jsp implement interface" New topic

Jsp implement interface

Sandeep Jindal
Ranch Hand

Joined: Aug 25, 2003
Posts: 180
Hi All,
I know that JSPs cannot implement an interface, cause in general it does not make sense, cause no body is going to call the implemented method.

It can extend a class. The reason could be to use the methods of the extended class. But since the 'customised hierarchy' of a jsp does not matter much to a servlet container, why it provides an option to extend. The usage of calling implemented methods can be fulfilled by making the instance of the class, rite?

Please explain it.

Sandeep Jindal

SCJP 5.0
I agree. Here's the link:
subject: Jsp implement interface
It's not a secret anymore!