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 |
what is JTA ?
How we set Bean Id when we are creating web application using SpringMVC and Hibernet Integration
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
What is chat area? Explain.
How to determine SGA site?
What is the difference between the string and stringbuffer classes?
What must a class do to implement an interface?
What is jboss?
What is there in browser that it supports web based applications of java or any other PL?
Why are some of the class and element names counter-intuitive?
can any one tell me how to learn good coding techniques
how the action can be map from jsp page to bean class in mvc1