Page 1 of 1

Error Message:package javax.servlet does not exist

Posted: Wed Nov 14, 2001 3:22 am
by Adam
I compiled this servlet file fine on DOS, but when I tried to compile it with TextPad, I got this message "package javax.servlet does not exist". I don't know if the CLASSPATH was not set incorrectly as I had no problem compiling it on DOS. Can anyone help?

THX.

Re: Error Message:package javax.servlet does not exist

Posted: Thu Jan 10, 2002 7:44 pm
by Michael Schneider
That error is clearly a classpath error. Where did you set your classpath and what's your OS? In W2K e.g. you have to set your classpath either in the system settings (then it's valid for every application you run) or you need to pass it as parameter to javac in Textpad.

MS