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

How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

3050


Explain what is orm?

1151


What are the services in RMI ?

2443


Is it possible to stop the execution of a method before completion in a sessionbean?

1146


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

4340


What is the infobus?

1133


What are the sequence of steps to write pub or sub model kind of application?

2556


What is bean? Where can it be used?

1244


What is a clone?

1121


What you mean by COM and DCOM?

1115


What class is the top of the awt event hierarchy?

1159


What is jboss?

1080


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

1103


What is aop(assepct oriented programing)?

1119


which type of objects reference will be given to client?

2521