Answer Posted / rahul
A JSP page can't directly implement an interface. If you
really need to do this you'll have to define a superclass
for your page which implements the interface. If you
declare this superclass to be abstract you can defer the
implementation of the interface to the JSP page. This
superclass will have to implement the interfaces
HttpJspPage and Servlet too, otherwise you will get a
compilation error from the JSP compiler.
Is This Answer Correct ? | 27 Yes | 4 No |
Post New Answer View All Answers
why static class in java
Explain about thread synchronization inside a monitor?
What is RMI and what are the services in RMI?
What is Remote Server?
What is the map interface?
Which are the different segments of memory?
Should synchronization primitives be used on bean methods?
Is the infobus client side only?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
What is chat area? Explain.
What restrictions are placed on the location of a package statement within a source code file?
Explain how will the struts know which action class to call when you submit a form?
Why is actionform a base class rather than an interface?
Are enterprise beans allowed to use thread.sleep()?
What is the purpose of the notify() method?