Please place your beans (after compilation) into the classes subdirectory which is
the default place tomcat will look for the classes

regards

Prem

Pete Walsh wrote:

> Ok I am new to JSP (excuse for not knowing this)  I just put all my JSP pages
> and beans into one directory.  I'm using Jakarta-Tomcat.  Now the JSP pages
> cannot fin the beans.  For example
>
> <jsp:useBean id="LoginBean" scope="application" class="LoginBean" />
> <jsp:useBean id="dbBean" scope="application" class="dbBean" />
>
> Neither of these two beans are in a package.  So what am I doing wrong?  Tomcat
> gives the following error in konsole to make me think that it is not finding
> these beans...
>
> Java.lang.NoClassDefFoundError: LoginBean (wrong name: admin/LoginBean)
>
> If anyone knows what I can do (or what I'm talking about) please help....thanks
>
> Pete
>
> ===========================================================================
> 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

Reply via email to