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
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
Name three subclasses of the component class?
What class is the top of the awt event hierarchy?
How database connectivity in XML is achieved?
How to determine SGA site?
What is the difference between java class and bean?
What is colon_pkg_prefixes and what is its use?
Describe, in general, how java's garbage collector works?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
Why is string immutable in java?
whats is mean by tiles in struts
What is bean? Where can it be used?
what are getters and setters in Java with examples?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
How task's priority is used in scheduling?