> Each time I compile my servlet I get the following:
> Class com.oreilly.servlet.* not found in import.
>
> Can anyone help?  I guess there is a problem with the classpath or
> environment variables but I can't figure it out.

You just need to make sure your CLASSPATH includes the directory that
contains the "com" subdirectory.  Generally with JWS it's something like
the server_root/classes directory.  Or, better still, explicitly include
the cos.jar file in your classpath.  With the Tomcat server you can just
put cos.jar in WEB-INF/lib but you still have to manually edit your
CLASSPATH for compiles.

-jh-

___________________________________________________________________________
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