Two possibilities:
1) Obvious but occasionally overlooked: Did you restart the server after
changing the classpath?
2) Remember that class files in a package need to be in a directory
structure that matches the package, and that what you put in the classpath
is the path up to, but not including the first element of the package. For
example, a class called "MyClass" is in a package called "com.fletcher". If
the full path to the class file is
"/usr/local/classes/com/fletcher/MyClass.class", then what you want in your
classpath is "/usr/local/classes".
If you're using jar files, then what you put in the jar file is
"com/fletcher/MyClass.class", and then you reference the jar file in your
classpath, for example "/usr/local/classes/myjar.jar".
--Jim Preston
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Shari Fletcher
Sent: Tuesday, August 08, 2000 5:42 PM
To: [EMAIL PROTECTED]
Subject: Okay, I Give Up.
Hello all ---
I'm trying to compile a JSP page that is importing a Java package. I'm
trying to access the JSP via iPlanet. I keep receiving package not found
errors when I attempt to compile. I have changed the classpath six ways
from Sunday and nothing seems to work. Does iPlanet have some special way
of resolving class paths? This seems like it should be very simple, but. .
. .
Is their any special behavior that I need to do to get my page to compile?
A fancy tap dance maybe???
-- shari -- extremely frustrated.
===========================================================================
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