Hii all,

I copied the path of servlet-api.jar and placed it in environmental variables. After that when i try to compile my servlet program it throws me cannot find symbol http servlet and so on. My question is do i need to place my servlet file in the tomcat and then compile it??? cause when am trying to compile my servlet program which is present on the desktop through command prompt using javac it throws me error as above. Is that the correct way of placing my servlet file?? if not then what is??


Thank you.