Java Error when passing a value through html to a servlet but servlet not found. why?

i made three files ->javaservlet, xml and html xml file gives mapping, html takes one number as parameter and forwards it into javaservlet java servlet finds its square and prints it but in the browser when i enter a number and submit it the following error is shown HTTP Status 404 – Not Found Type… Read More Java Error when passing a value through html to a servlet but servlet not found. why?