no, you need to put this:
<jsp:useBean id="beanConnect" class="jsp.DbBean" scope="session"/>
on every jsp in order to use the instance which is already created
s.b.
>From: Chin Sung Kit <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: scope of the Beans?
>Date: Wed, 27 Sep 2000 18:55:04 +0800
>
>hi,
>
>say if I instantiate one of my beans in my login page, can I still use
>it in other pages?
>
>for example:
>in my login.jsp, i instantiate the bean.
><jsp:useBean id="beanConnect" class="jsp.DbBean" scope="session"/>
>
>in my index.jsp, can i use the bean straight off without declaring the
>jsp:useBean tag again?
>
>thanks for any suggestions/opinion.
>
>ced
>
>===========================================================================
>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
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.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