Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how we can implement interface in jsp ?

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


Please Help Members By Posting Answers For Below Questions

Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1043


Name three subclasses of the component class?

1103


What class is the top of the awt event hierarchy?

1113


How database connectivity in XML is achieved?

2240


How to determine SGA site?

2540


What is the difference between java class and bean?

1080


What is colon_pkg_prefixes and what is its use?

2516


Describe, in general, how java's garbage collector works?

1038


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

2244


Why is string immutable in java?

1097


whats is mean by tiles in struts

2218


What is bean? Where can it be used?

1163


what are getters and setters in Java with examples?

1781


What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

1058


How task's priority is used in scheduling?

2295