Hello.  I am just a beginner in JSP and I am having a little bit of trouble
instantiating a bean.
My bean1.java is contained in a package called "property" and I am calling
the bean in my JSP file called LTMerch.jsp using the following line:

        <!- Find and instantiate the bean, and refer to it as myBean -->
        <jsp:useBean id="myBean" scope="page" class="property.bean1"/>

I get the following error and I am unable to find out why.  All the files
seem to be in place. (bean1.class is in the property folder...).

org.apache.jasper.JasperException: Unable to compile class for
JSPC:\Apache\jakarta-tomcat\work\localhost_8080%2Fexamples\_0002fJSP_0002fLT
Merch_0002ejspLTMerch_jsp_0.java:72: Class property.bean1 not found.
                property.bean1 myBean = null;
                        ^

Could someone please help me pointing out what might be my problem?
Thank you.

===========================================================================
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