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 ?
wahts is mean by dynavalidatorform in struts/
What is RMI architecture?
Explain Object Serialization and it can be used?
What are the purpose of introspection?
difference. between List and Set?
2 Answers Campus Interaction, HCL, Infotech,
Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.
how i secure my site with the https protocol.what are the steps?
Name the eight primitive java types.
Can you give me a simple example of using the requiredif validator rule?
the use of try and ffinally keyword
what is a dirty read?