Iam new to servlets.Iam working on the first mvc example in HF
servlets book. I downloaded
tomcat 5.5 and j2se sdk 1.5. Tomcat is running fine.I set the following in the environment variables.
classpath is %CLASSPATH%;%TOMCAT_HOME%\common\lib\servlet-api.jar;%TOMCAT_HOME%\common\lib\jsp-api.jar;.
TOMCAT_HOME is C:\Program Files\Apache Software Foundation\Tomcat 5.5
JAVA_HOME is C:\Program Files\Java\jdk1.5.0.
When I try to compile BeerSelect using c:\MyProjects\beerV1\javac -d classes src\com\example\web\BeerSelect.java it says package javax.servlet does not exist. Can anyone please help me