It is possible to send the bean to the servlet.  Put the bean in the session
object in the JSP before sending to the Servlet.  You can use the sessionId
as the key or some known name like "sessionBean" or "userBean".  Then the
servlet gets the bean from the session.  Is that what you wanted to do?  I'm
doing this with an application now.

Steve


On Fri, 10 Dec 1999 10:04:19 -0000, Ian Graham <[EMAIL PROTECTED]> wrote:

>Hi people,
>
>I have been trying for a while now to do this but I have finally decided it is a 
>problem for the experts on this list.
>
>What the situation is, is I have three things, jsp's a big controlling servlet and a 
>sessioned bean. The plan is to only have getProperty methods on the JSPs and actually 
>set the data that the page will be using in the servlet. Therefore I need to be able 
>to access the sessioned bean from the servlet and the JSP. I know how to send single 
>values, i.e. using the set/getAttribute methods but not whole beans.
>
>Is this possible?? If so then how,
>
>thank you very much for your help,
>
>Ian
>

Ian,

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to