aspose 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 Spring in Action this week in the Spring 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: 61421
    
  67

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: 2057
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