Hi there,
There are two things I can think of. First, be sure that your
import list includes the package name. E.g., import="com.myco.Product".
Second, the engine has to know the classpath for your Java classes.
Willie
On Fri, 5 Nov 1999, Sachin S. Khanna wrote:
> Hi Guys,
> Well i'm facing a funny problem.
> When i import a custom class with the following code:
> <%@ page import = "Product" %>
> everything is alright.
> This would sugges that the jspengine is able to find the above
> Product.class, but amazingly when i try to instantiate an object of this
> class, i get ClassDefNotFound Error.
> Can you guys tell me why such a thing is happening.
> Have a nice day.
> With regards,
> Sachin S. Khanna.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html