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
How do cookies work in servlets?
Can filter be used as request or response?
How the JSP file will be executed on the Server side?
What are the types of servlet?
What’s the difference between genericservlet and httpservlet?
What is the purpose of dispatcherservlet properties?
Explain the difference between generic servlet and http servlet?
What is life cycle of Servlet?
What is webservlet?
What are the uses of servlet and what is servlet chaining?
What is a servlet context?
Explain web application directory arrangement?
What is meant by a servlet?
What do you mean by cgi and what are its drawbacks?
how the HTML data stored in web server?