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

What are the pros and cons of detached objects?

0 Answers  


Explain what is orm?

0 Answers  


What classes of exceptions may be caught by a catch clause?

0 Answers  


Explain the purposes of methods wait(), notify(), notifyAll ()?

2 Answers  


Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.

2 Answers  


Where can I ask questions and make suggestions about seam?

0 Answers  


What is the need of serialize?

2 Answers   Wipro,


Will the general public have access to the infobus apis?

0 Answers  


What will happens, when a thread cannot acquire a lock on an object?

2 Answers  


How many times may an objects finalize() method be invoked by the garbage collector?

0 Answers  


What is the relationship between the canvas class and the graphics class?

0 Answers  


Dear freinds... I want to know how to write self mapping for a table using hibernate?

1 Answers   Cap Gemini,


Categories