Answer Posted / 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 |
Post New Answer View All Answers
What is an abstract method?
what are getters and setters in Java with examples?
What is table mutation and how do you avoid it?
What is the difference between java class and bean?
What are the services in RMI ?
Name the eight primitive java types.
How to determine SGA site?
Can I map more than one table in a cmp?
What are local interfaces? Describe.
What is abstract schema?
What are the call back methods in entity bean?
What are the benefits of detached objects?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
Explain about thread synchronization inside a monitor?
What are the different methods of identifying an object?