Sneha Sharma@CONTEXT
06/29/2000 06:50 AM
Yes !
We can. Actually the term useBean is a misnomer, it is just as good as
using any java class.
So , on a JSP we can follow 2 approaches to include a class,
either use useBean and have an id
Or
import the class at the top and create an object for it in the
<Jsp:declaration> section.
Sneha
Asri Ismail <[EMAIL PROTECTED]> on 06/29/2000 04:40:45 AM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Sneha Sharma/Context)
Subject: jsp:usebean tag
can we use more the once <jsp:useBean tag more than once
like this
<jsp:useBean id="connection" class="asri.ConnectionBean" scope="session"/>
<jsp:useBean id="sqldb" class="database.SQLBean" scope="session"/>
===========================================================================
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
===========================================================================
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