set the scope="session" in the bean tag in all three jsp's then it should
only get instantiated the first time you hit one those jsp's

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Vinay Kulkarni
> Sent: Thursday, March 16, 2000 3:54 PM
> To: [EMAIL PROTECTED]
> Subject: Need Urgent Help needed regarding JSP & Beans
>
>
> HI Guys,
>
> I need some urgent help.
>
> I have a 3 JSP pages. In all the three JSP pages I am instantiating the a
> bean. The bean is used to set & get a value.
> Now From the 1st page I set some value by calling a set method from the
> bean. Now when I go to the second or third page & try to get the value set
> by using the get method, I am not able to see the value. The value is lost
> due to instantiating the bean once again in the second page.
>
> Please can anyone help me asto how can I retain the value in the second
> page.
>
>
> Thanks in advance.
>
>
> Vinay
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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".
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