use package name with class
<jsp:useBean id="db" scope="request" class="packagename.DbBean" />
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott Kumamoto
Sent: Friday, June 23, 2000 3:29 AM
To: [EMAIL PROTECTED]
Subject: Bean in JSP
Where does the server look for a bean when you do a jsp:useBean? I have
the following...
<jsp:useBean id="db" scope="request" class="DbBean" />
and it's giving a not found error. The DbBean.class file is in a
directory that's included in the CLASSPATH when I start the server
(Weblogic 5.1 on Windows.) Am I doing something wrong? Does it need to
be in a .jar?
Thanks,
Scott
===========================================================================
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