Do you mean "calls methods on a bean"? If so why dont you just pass the session in as a mthod argument?
>From: Ioannis Xanthopoulos <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: use an existing session from within a Bean
>Date: Thu, 9 Jan 2003 02:32:07 -0700
>
>I have a servlet that creates a session and with a button click redirects to a JSP Page. In the JSP Page the session attributes are used and changed.
>Now, the JSP Page calls a bean. How can this bean reference the same session and add values to it?
>
>Can somebody show me a small snippet to do this?
>
>regards
>Ioannis
>
>___________________________________________________________________________
>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
MSN 8 with e-mail virus protection service:
2 months FREE*
___________________________________________________________________________
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