>In a servlet(LookupCD) i create an instance of an Enterprise JavaBean(session bean).
>The servlet generates an html-page with all info of an entitybean and also a link.
>When i click on this link it starts up a new servlet but i want to pass that instance
>of the sessionbean on to this new servlet(AddToBasket)

   You are approaching this all wrong. There is no way to magically forward
a session bean to the next servlet when a user clicks on a link.

 What you have to do is add the session bean to the HttpSession object,
that way you can get at it from any servlet in  your application.

   I have done this before and it works. :)

Floyd

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to