Yes, its surely an issue with the scope.
Just see to it that the bean either has a session or an application scope
depending upon the nature of your web application.
A quick look through a jsp book or the jsp specification should sort out the
matter.
In case you are still stuck just post the relevant code to the list and
someone will surley help you out. But use this as the last resort :-).
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
----- Original Message -----
From: Joel Carklin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 13, 2001 8:48 PM
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=P
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=rvlets

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