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 |
Explain the stub's and skeleton's functionality?
What is RRL?
What is a modular application? What does module-relative mean?
Why are my checkboxes not being set from on to off?
In a multitiered application which tier is the browser in?
Brief description about local interfaces?
What is the highest-level event class of the event-delegation model?
can i call multipule form beans in Action class?
Explain Object Serialization and it can be used?
What is Remote Server?
What will happens, when a thread cannot acquire a lock on an object?
can a static method be overridden