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 are Benefits of Connection Pooling?
How JNDI is used in JMS ?
Define the remote interface?
How messaging services are done, before release of JMS?
Hello, I'm java developer. My skill is programming with java,jsp, struts, struts2+spring, hibernate, eclipse, tomcat, mysql,Oracle,Middlegen and other open source technology. I'm interest work any web base project that use my ability above. The thing is that I have never got any chance to work in this field though i am very much comfort with my skills. So if any body want me then i will happily join you. Also I have also some of my friends if you. If you interest to outsource any project to me then also you are welcome. you can reach me by email at me4bangalore@yahoo.in
Difference Between java & javax
5 Answers Sun Microsystems, Wipro,
What is difference between object state and behavior?
What is the relationship between local interfaces and container-managed relationships?
whats is stored procedure,joins
What is the return type of interrupt method?
Name the eight primitive java types.
What are the different class loaders used by jvm?