The useBean has to be used with a session scope.



-----Original Message-----
From: Joel Carklin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 11:19 AM
To: [EMAIL PROTECTED]
Subject: Setting a JavaBean


Hi All,

I'm a bit confused here, but I think the answer to my query is pretty
simple.
Basically, I want to use a JavaBean in my JSP page that has already been
intantiated by a Java object before loading the page. The object handles
the request from the page before, intantiates a JavaBean, sets various
properties in it and then directs the browser to the next jsp page.

I want the second jsp page to access the new JavaBean with the properties
as set by the Object,
using the <useBean...> tag. My Page seems to intantiate a new bean each
time I call this tag, rather than just locating the one which has already
been instantiated. Is this an issue with scope? Any ideas?

Thanks
Joel

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