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

How would you reatach detached objects to a session when the same object has already been loaded into the session?

0 Answers  


Is the infobus client side only?

0 Answers  


What is colon_pkg_prefixes and what is its use?

0 Answers  


What is ripple effect?

0 Answers  


Do I have to use jsps with my application?

0 Answers  


What are the various thread priorities?

1 Answers  


What is JasperReports?

2 Answers  


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

0 Answers  


Where does the session Object stores? If 100 users are connecting to the server. How does it recognize which session belongs to which user?

5 Answers   HCL, Mobillo Venture,


What restrictions are placed on the values of each case of a switch statement?

0 Answers  


What is the difference between a menuitem and a checkboxmenuitem?

0 Answers  


In real time project when will we use Abstract class. and what are the difference between abstract and interface.

6 Answers   DELL, FCS, Polaris, Tanla Solutions, TCS,


Categories