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
Explain the servlet filter.
How do we translate jsp?
Explain the role of dispatcherservlet and contextloaderlistener.
Why are http servlets used in programming?
What is a servlet context?
What are the uses of servlet and what is servlet chaining?
If some new data has entered the database, explain how can a servlet refresh automatically?
How the typical servlet code look like ?
Write a command to get actual path of a servlet to the server?
What are all the protocols supported by httpservlet?
explain the advantages of servlet life cycle?
Is java servlet still used?
What's the use of servletcontext?
What are the life cycle methods of the servlet?
What is servlet api used for conneting database?