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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to pass an interface in Session" Watch "How to pass an interface in Session" New topic
Author

How to pass an interface in Session

Raj kalaria
Ranch Hand

Joined: Sep 08, 2005
Posts: 72
I need to pass an Interface in a session is it possible to do .

can some one give me few lines of code pertaining passing Interface in a session.

I would really appreciate that
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

You can't pass or store interfaces. You can pass or store objects that implement interfaces. It's a fine distinction.

Perhaps some more details on what you are really trying to do would help.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pass an interface in Session
 
Similar Threads
How to display EJBs in Class Diagram
Servlet, JSP and a Stateful Session Bean
JSP and getsession
ejbcertificate.com question
Passing data from jsp to servlet