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 war file?
Explain url encoding in servlet?
Is it good idea to create servlet constructor?
How do you configure a centralized error handler in servlets?
Why don't we write a constructor in a servlet?
What is the dispatcher servlet?
What is java servlet session?
What is the difference between context parameter and context attribute?
Can you refresh servlet in client and server-side automatically?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What do you understand by mime type?
What is the difference between using getSession(true) and getSession(false) methods?
How do you find out what client machine is making a request to your servlet
Explain the features are in servlet 3?
What is the use of send redirect () method?