LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   can a JSP page implement an interface? (https://www.linuxquestions.org/questions/programming-9/can-a-jsp-page-implement-an-interface-252791/)

eantoranz 11-09-2004 08:54 AM

can a JSP page implement an interface?
 
I know JSP pages can extend one class that extends HttpJspPage (extends directive).

I would like to know if it's possible to implement a given interface.

cyberpunk1971 11-09-2004 10:15 AM

JSP Interface
 
Are you talking about a gui interface or a program interace?

eantoranz 11-09-2004 10:19 AM

a Java Interface.

Instead of saying
Code:

<%@ page extends="classThatExtendsHttpJspPage" %>
I want to know if it's possible to implement an interface. For example:
Code:

<%@ page implements="anInterface" %>
(not a JSP related interface in this case).


All times are GMT -5. The time now is 07:39 PM.