The reference to the JavaBean is stored in the page's HttpSession object.
Your JSP pages must be able to participate in a session to use this scope.
That is, you must not have the page directive session set to false. You
should also check whether the object was in fact instantiated and stored in
the session.

Justy

----- Original Message -----
From: "Ajay Ejantkar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 10:19 AM
Subject: retirieving data from bean


> I hava a jsp page with a form. The data of the form is saved in a bean
that I set up using the jsp:useBean tag. When the scope is set to request
scope the data in the bean can be accessed using the jsp:getProperty tag, or
the instancename.getProperty(). If I change the scope of the bean to session
the jsp:getProperty and instancename.getProperty() method don't work. If
anyone can help me with this I would really appreciate it. Thanks a lot.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to