File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes How to call an interface in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to call an interface in JSP" Watch "How to call an interface in JSP" New topic
Author

How to call an interface in JSP

Abrahim Daver
Ranch Hand

Joined: Aug 06, 2004
Posts: 69
How Can I use an interface in JSP page??
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

What are you trying to do?


GenRocket - Experts at Building Test Data
Abrahim Daver
Ranch Hand

Joined: Aug 06, 2004
Posts: 69
I have nothing to do with it, but just curious to know about it,
Can we use interface in JSP, if yes, then How??
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

Putting as much effort into an answer as was put into the question:

Yes, by calling it.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
you can put any java codes embedded in the jsp code

jsp coding is distancing itself from embedded raw java codes in the jsp. an alternative is using, javabeans or custom tags. you would use the javabeans and custom tags inside the jsp just like any html or xml code. so with regards to interfaces, if you ever use it, they would be in the javabeans or custom tags code, not in the jsp.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call an interface in JSP
 
Similar Threads
A simple doubt in jsp
How do extends ordinady class in jsp
Implementing Interface in JSP
can an interface be implemented in jsp
Running SQL in an EJB