Converting static Web projects to dynamic Web projects
If you want to add dynamic elements to a static web project,
such as Java™ servlets and JSP files, you must convert the project
from a static to a dynamic one. To convert a static Web project to a dynamic
Web project, complete the following steps:
Select the project in the Project Explorer view, and then select Convert
to a Dynamic Web Project from the Project menu.
This conversion assumes the project name and location will be the same.
The conversion does not change the CSS file specified in the original static
project, so it will be included in the resulting dynamic Web project.