I am using eclipse ee with tomcat 6 on windows. I made a simple HelloWorld servlet & it works properly. Then I made another test applet just print a line of text & it raises error.
When it is called by eclipse itself like http://localhost:8080/HelloWorld/,
it shows 404 error. If I change its address to
http://192.1.1.56:8080/HelloWorld/ then error message changes & it displays
this program cannot display the webpage.
Even if I call it(in eclipse) by http://localhost/HelloWorld* i.e. by removing port address, it shows
this program cannot display the webpage
EDIT this problem is solved. Being new to ee & ....., I was making mistake of running servlet by R-Click on project folder in spite of servlet itself. Thanks everyone for help :)