||Deploying Web Applications to Tomcat|
|Subject:||package javax.servlet doesn't exist problem|
I'm pretty new to tomcat. I met a problem when I followed the article to add servlets. I copied the login.java code of Listing 4 and put it in /onjava/WEB-INF/classes/com/onjava. Then I compiled by javac com/onjava/login.java but the error messages say: package javax.servlet doesn't exist. What should I do? Your quick reply help is greatly appreciated.