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 is ServletConfig object?
What is the difference between the servlets and cgi programs?
What is the process for chaining servlet?
What are the differences between forward() method and sendredirect() methods?
Explain the difference between get and post method in servlet?
How to create war file?
What is the difference between genericservlet and httpservlet
How to commuincate between an applet and a servlet?
Can filter be used as request or response?
What is the procedure for initializing a servlet?
What is the difference between the include() and forward() methods?
What are the different session tracking techniques?
How can we invoke another servlet in a different application?
What do you mean by httpservlet and how it is different from the genericservlet?
Why do we use sendredirect() method?