Welcome to
Java Ranch!
A 404 error means a page is not found, and there are several ways that could happen. Myapp may not actually be deployed to Tomcat, or you may be typing the name wrong. (MyApp?) It also could be that you haven't defined a welcome page list in web.xml and there's no index.html or index.jsp in the deployment, or not in the right place. Or you have defined a welcome page and that file is not there, or the
servlet is the welcome page, but you haven't set up the URL mapping correctly. There's no way for us to know for sure without more information.