how we can implement interface in jsp ?
Answers were Sorted based on User's Feedback
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 |
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 |
whats is mean by jndi
Urgent Openings for Java and .NET ( India, Singapore, Australia, Japan)
What is J2EE?
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?
What is local interface. How values will be passed?
Thread life cycle?
What is the purpose of the notifyall() method?
What class is the top of the awt event hierarchy?
whats is mean by connectionpooling
What happens when a thread cannot acquire a lock on an object?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
what is DGC?