Error Message:package javax.servlet does not exist

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Adam

Error Message:package javax.servlet does not exist

Post 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.
Michael Schneider

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

Post 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
Post Reply