See section 13.5 "Sharing Beans" especially subsection
_Conditional Bean Creation_ on page 304 of Core Servlets
and Java Server Pages by Marty Hall,
http://www.amazon.co.uk/exec/obidos/ASIN/0130893404/qid=972948763/sr=1-2/026
-9555519-7509223

Andy



-----Original Message-----
From: Ting Abbey [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 3:08 PM
To: [EMAIL PROTECTED]
Subject: passing value between jsp pages


Hi, jguru,

I am facing a problem of passing a value (vector) between two jsp pages:
I pass a string from First.jsp to Second.jsp. The Second.jsp will store the
value in a vector (addElement) inside a bean. Then, the First.jsp will call
the bean in order to retrive the Vector. However, the vector inside the bean
has been re-instantiated (value stored previously is gone).
Any suggestion on how to get around this problem?
Thanks in advance.

Ting

===========================================================================
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