error: package javax.servlet.http does not exist
===

I am trying to create my first servlet and I am getting the error above when I try to compile my code. I have read on stackoverflow that this is due to SE JDK not containing the servlet api. However, I am compiling from the command line with the following ====> 
javac -classpath C:/Users/Bosra/Desktop/Tomcat7/lib/servlet-api.jar; -d ../classes com/example/web/BeerSelect.java. As you can see I am making reference to the servlet-api on the command line. Please can you advise why I am still getting this error. I am using tomcat 7 

thanks