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 ?

Answers were Sorted based on User's Feedback



how we can implement interface in jsp ?..

Answer / 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

how we can implement interface in jsp ?..

Answer / srinu

yes we can implement interface.The follwing way we can
imlement the interface.
<%@ page import='mypackage.MyInterface' %>

Is This Answer Correct ?    4 Yes 22 No

Post New Answer

More Advanced Java Interview Questions

difference between  ejb,struts,hibernate,spring and jsp

0 Answers  


How do u supress the parameters from the displaying in the url?

2 Answers  


What is table mutation and how do you avoid it?

0 Answers  


What are the steps to write p-to-p model application?

0 Answers  


Connection Pooling with different type of databases?

1 Answers  


Difference between loadclass and class.forname?

0 Answers  


How are the elements of a cardlayout organized?

0 Answers  


how can we load a file of a user in the database table?

3 Answers   ITC Infotech,


What are the advanatages of RMI ?

1 Answers   HGS,


suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser paste that url on the browser.will i get my mail opened or not? i know it ill not.but how it work.how i create like this type of secure site?

7 Answers  


How many JSP scripting elements and what are they?

4 Answers   TCS,


To make an object to begin executing as a separate thread, what method is used?

2 Answers  


Categories