----- Original Message ----- From: "graghavan" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 2:04 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.java 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 >[...] you need to put "path and jar-name" in CLASSPATH when you complie YourServlt, for example: SET CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\common\lib\servlet.jar Bo Jan242002 -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>