Creating Your Project Elsewhere

To make use of a project that needs to have a META-INF/context.html file, you'll need to create the project in Tomcat's webapps directory instead of the default location that Eclipse uses.

When you create a new Tomcat project, use the dialog to enter the location for the project as illustrated below:

Note that the pathname needs to be a directory inside of webapps. That directory should have the name of your project. Be sure to add the name of your project to the end of the pathname.

In the next dialog window, do not grant permission for Eclipse to update your project's context definition: