how we can implement interface in jsp ?
Answers were Sorted based on User's Feedback
Answer / rahul
A JSP page can't directly implement an interface. If you
really need to do this you'll have to define a superclass
for your page which implements the interface. If you
declare this superclass to be abstract you can defer the
implementation of the interface to the JSP page. This
superclass will have to implement the interfaces
HttpJspPage and Servlet too, otherwise you will get a
compilation error from the JSP compiler.
| Is This Answer Correct ? | 27 Yes | 4 No |
Answer / srinu
yes we can implement interface.The follwing way we can
imlement the interface.
<%@ page import='mypackage.MyInterface' %>
| Is This Answer Correct ? | 4 Yes | 22 No |
difference between ejb,struts,hibernate,spring and jsp
How do u supress the parameters from the displaying in the url?
What is table mutation and how do you avoid it?
What are the steps to write p-to-p model application?
Connection Pooling with different type of databases?
Difference between loadclass and class.forname?
How are the elements of a cardlayout organized?
how can we load a file of a user in the database table?
What are the advanatages of RMI ?
suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser paste that url on the browser.will i get my mail opened or not? i know it ill not.but how it work.how i create like this type of secure site?
How many JSP scripting elements and what are they?
To make an object to begin executing as a separate thread, what method is used?