Firstly i get compilation error due to some HttpServlet related classes. Then i add the classpath variable servlet-api.jar form the tomcat\common\lib\ and the program compiles successfully. But now i get 404 not found error from the browser. I make these put Hello.class file into webapps\ex1\WEB-INF\classes\ and make a web.xml file and put it webapps\ex1\WEB-INF\ and from the browser http://localhost:8080/ex1/Hello
It get me the 404 file not found error. I need to dig it why this happens. Any advice will be appreciated.