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 |
whats is mean by tiles in struts
when we applied start()method on a thread ,how does it know that to execute run()method on that object?
Why are some of the class and element names counter-intuitive?
What is local interface. How values will be passed?
which type of objects reference will be given to client?
In HashTable I am storing null value..then what is the error it will show
Explain how will the struts know which action class to call when you submit a form?
What is daemon thread?
How substring() method of string class create memory leaks?
What is there in browser that it supports web based applications of java or any other PL?
How would you detect a keypress in a jcombobox?
What value does readline() return when it has reached the end of a file?