HTTP Status 404 - Not Found Error when clicked on search button
In the Project Explorer right click on test (which is the name of your project, if I got it right)
In the context menu choose Export->WAR file
In the dialog window that pops up click the Browse... button to choose the destination folder for the deployment. This should be the web application folder(webs) of your Tomcat installation: /webapps where is the folder you have installed Tomcat in.
Now start your Tomcat.Assuming you have the index.html file in the WebContent folder of the test project in Eclipse, you should see the content of index.html in your browser when you open the URL. http://localhost:8080/projectApplication