Hi,

what error are you getting ?

i'm using the following in one of my pages and it works fine

<jsp:useBean id="oldUser" class="ldap.members.User" scope="session" />

<jsp:useBean id="email" class="BeanMailer.SMTPBean" scope="session"/>

cheers

Nick


----- Original Message -----
From: "Mirek Chowaniok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2001 7:26 PM
Subject: How to declare multiple beans in a JSP?


> Can somebody please tell me how I can declare two beans in a single JSP?
>
> I am trying to do something like this:
>
> <jsp:useBean id="customerModify" type="wrts.JSPTableModel" scope
> ="session"/>
> <jsp:useBean id="areaList" type ="wrts.JSPTableModel" scope="session" />
>
> (The above code obviously generates error).
> Any help with the syntax would be appreciated.
>
> Thank you
> MC
>
>
===========================================================================
> 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