Hello Sridurga,
The way you have set you're classpath and path is fine. The problem you r having is the package problem. That is when you are compiling you're servlet
Java code you r getting error javax.servelt.*, or javax.servlet,http.* could not found in import. In the sub-directory of you're d:\jsdk2.0\src directory there is one directory name javax. Copy this directory where you're servelt Java code is. Once javax directory is in the folder with you're servlet code run you're code again. This time it should detect you're javax package and you're code will compile as "javac filename.java", no need of using -classpath option.
I think this problem is there when some one is using jdk2.0 and jsdk2.0. But this approach is not necessary when you r working with jdk2.2 and Jsdk2.2.In this case suggestion put up by other fellow will work fine.
In case you are having any problem then feel free to contact me.
Regards,
Raj.