Hi Adrian

You need to include the location of the file jsdk.jar in your classpath.
javax packages are extensions to java and are not part of the core java
libraries.

-Rajesh

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I am new to java and java servlets...I get a few compile errors I need help
with, here are the compile errors:

CatalogServlet.java:21: Package javax.servlet not found in import.
import javax.servlet.*;
       ^
CatalogServlet.java:22: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
       ^
CatalogServlet.java:24: Package database not found in import.
import database.*;
       ^
CatalogServlet.java:25: Package cart not found in import.
import cart.*;
       ^
CatalogServlet.java:32: Superclass HttpServlet of class CatalogServlet not found
.
public class CatalogServlet extends HttpServlet {
                                    ^
5 errors

I thought these packages where native to the java compiler.  What am I doing
wrong and how do I go about fixing this problem?  Any help would be
appreciated...

Adrian

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to