Answer Posted / aashish r. wadhokar
no, We cannot implement an interface in a jsp bcoz jsp is an
file not a class as well as jsp is converted into a servlet
class
and this translation(jsp file to servlet class) is done by
jsp engine so we cant implement interface in jsp file.
yes, we can extend a class in jsp page using extends keyword
using extends attribute of the page directive.
eg: extends "com.classes.class"
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
Is tomcat a servlet container?
How are filters?
Explain web application directory arrangement?
What's the difference between servlets and applets?
What are the drawbacks of cgi?
Which is the methods of generated servlet?
How do you load an image in a Servlet?
Why do we have servlet wrapper classes?
What do you mean by mime type?
Whether we can get deadlock situation in servlets?
Differentiate between the web server and application server?
What is the capacity the doget can send to the server?
When to use doget() and when dopost()?
What are the different ways we can maintain state between requests?
What is the default http method in the servlet?