aspose file tools
The moose likes JSP and the fly likes Jsp implement interface Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Jsp implement interface" Watch "Jsp implement interface" New topic
Author

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.

Regards
Sandeep Jindal


SCJP 5.0
http://sites.google.com/site/duddlutechnologies/home
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Jsp implement interface
 
Similar Threads
Basic Interface question
Interface and abstract classes
anonymous classes
java.lang.Object is a class or Interface
Java Serialization