You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by R N Mukherjee <rn...@rdcis.bih.nic.in> on 2001/02/05 07:32:41 UTC

SERVELET ClasspathWOES

SUB: How should the CLASSPATH be set for compiling a servlet file
containing BOTH USERDEFINED packages & BUILT-IN java packages. (presently
gives compile error with javax.http.servlet not found)

My servelet code is

/*user defined html package saved in c:mypackage*/
import mypackage.html.*;
import javax.servlet.*;
import.javax.servlet.http.*;

COMPILE ERROR
the user defined html package is found, but not the javax.servet package.

Classpath is set as follows
set classpath=.;c:\mypackage;c:\jsdk2.0\lib\jsdk.jar;

Please suggest How should the classpath be set for RECOGNISING BOTH user
defined packages and javax.servlet packages at the same time.