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 |
Define the remote object implementation?
how can u cal servlet from java?
Explain the stub's and skeleton's functionality?
a US company has filed my H1B visa ,, and i got selected in random number process.I wanna ask Could they ask regarding my languages(java,c++) or there will b just general questions?? And wat kind of questions will they ask in embassy interview??
which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based
What is a class loader?
How a component can be placed on Windows?
Write a program on RMI and JDBC using StoredProcedure?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Why do threads block on i/o?
how to search the pertical objects in a Collections
What is a task?s priority?