Yes. Each page will need to execute the useBean tag. For each page, if the
Bean does not exist then it will be instantiated. If the Bean is already
instantiated it will use that.
- Brad Wilson
---------------------------------------------
BT Web Enterprises
5/44 Park Street North
Woodville Park SA 5011
tel: (08) 8244 7760
fax: (08) 8244 7761
mob: 0419 848 707
email: [EMAIL PROTECTED]
---------------------------------------------
----- Original Message -----
From: "JSP Ask" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 1:08 AM
Subject: jsp:useBean
> Hi, Guru,
>
> If I want to share the same <jsp:useBean id=....> between 4 different jsp
> pages, do I have to add the <jsp:useBean id=....> in every page?
>
> Thanks?
>
> AJ
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
===========================================================================
> 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