Try pointing directly to the jar file: %CATALINA_HOME%\common\lib\servlet.jar
I hope this helps. ----- Original Message ----- From: "graghavan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 1:38 PM Subject: problem compiling a servlet > i have problem compiling a servlet; pls help out. > i have j2sdk1.3.1 in my 'path' and is installed alright. > i have tomcat 4.0.1 installed alright and many of the tests with the > 'examples' seem to work ok. > when i try compiling a servlet.jave src file, the following error (using > javac ... ) gets reported: > package javax.servlet.* does not exist, etc., (it is unable to find > the servlet classes) > i tried putting catalina_home\common\lib in the 'path' because there is > a servlet.jar file out in there. > i still get the same error as above. > give me a hand. > tnx. > graghavan > > ___________________________________________________________________________ > 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 > ___________________________________________________________________________ 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