It might be that the classpath does not contain the SimpleBean.class in its path.

Pedro

Savitha Nayak wrote:

> Hi
> I am trying the bean example and it is not working.
>
> 1. The SimpleBean.java is compiles to get the
> SimpleBean.class
> Then there is the jsp which uses it. I get the error
>
> Parsing of JSP File
> 'C:\weblogic\myserver\public_html\BeanTest.jsp'
> failed:
> --------------------------------------------------------------------------------
>  C:\weblogic\myserver\public_html\BeanTest.jsp(21):
> Could not create a bean of type: SimpleBean:
> java.lang.ClassNotFoundException: SimpleBean
> probably occurred due to an error in
> C:\weblogic\myserver\public_html\BeanTest.jsp line 21:
> <jsp:useBean id="test" class="SimpleBean" />
>
> Please help
> This example is from
> http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
> Thanks
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ===========================================================================
> 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