Answer Posted / jayakrishna
We cannot implement an interface in a jsp but we can extend
a class in JSP by using extends attribute of the page
directive.
extends "package.class"
The fully qualified name of the superclass of the Java
class file this JSP file will be compiled to. Use this
attribute cautiously as it can limit the JSP container's
ability to provide a specialized superclass that improves
the quality of the compiled file.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What are the various ways of session supervision in servlets?
Can you create a deadlock condition on a servlet?
What is pure servlet?
What are all the advantages of servlet over cgi?
What do you mean by annotations in servlet?
What are the life cycle methods of a servlet?
Describe in brief RequestDespatcher?
What is a server side include (ssi)
Explain load on start-up and its importance?
What is the inter-servlet communication?
How to create war file?
How would you create deadlock on your servlet?
What is session tracking?
What do you mean by servlet context?
What are the life cycle methods of the servlet?