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 |
How JNDI is used in JMS ?
What do you know about seam?
What is a tasks priority and how is it used in scheduling?
Difference Between getRequest and PostRequest?
how can u cal servlet from java?
How do you maintain a stateful session object across the session
Explain what is synchronization?
What is Remote Server?
can a static method be overridden
String is immutable.it is true String can be change to mutable How?
6 Answers IBM, Professional Access, TCS,
What must a class do to implement an interface?
what are design patterns in java?give with example?