tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wentzel <>
Subject RE: CLASSPATH trouble
Date Thu, 04 Jan 2001 20:18:10 GMT
classes imported in jsp's should be under ./Web-inf/classes/
and jars under ./Web-inf/lib/


The important part to notice about the CLASSPATH is:

<snip-from bat file>
if exist "%TOMCAT_HOME%\lib\ant.jar" set CP=%CP%;%TOMCAT_HOME%\lib\ant.jar
if exist "%TOMCAT_HOME%\lib\jasper.jar" set
if exist "%TOMCAT_HOME%\lib\jaxp.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar
if exist "%TOMCAT_HOME%\lib\parser.jar" set
if exist "%TOMCAT_HOME%\lib\servlet.jar" set
if exist "%TOMCAT_HOME%\lib\webserver.jar" set

as you can see the tomcat jars need to be able to be found in the CLASSPATH.
The CLASSPATH environ var tells the JVM where to look for classes that it

Hope this straightens everything out for you...

Michael Wentzel
Software Developer
<A HREF="">Software As We Think</A>
<A HREF="mailto://">Michael Wentzel</A>

View raw message