I am using apache-tomcat 5.5.17 and jdk 1.6 . I have already set path of jdk using environment variable. I am deploying a servlet on it after starting server. I have already made directory structure in desktop. I am compiling my program using statement in command prompt.
C:>cd Users\him\desktop\project //here is my directory structure
C:>javac - classpath \Users\him\applications\tomcat 5.5\common\lib\servlet-api.jar;classes:. classes src\com\example\web\myservlet.java
and I'm getting error like this----
javac : invalid flag: 5.5\common\lib\servlet-api.jar;classes:.
I'm waiting for your response and thanks in advance...........