Previous Next vertical dots separating previous/next from contents/index/pdf

Creating a new web application project

To create a web application project, the Workshop perspective must be active. If necessary, activate it by clicking the Workshop perspective button on the shortcut bar to the left of Eclipse’s Workbench window.

  1. Choose File > New > Dynamic Web Project.
  2. The New Dynamic Web Project dialog displays.

  3. In the dialog, enter a new name for your project in the Project Name field.
  4. By default, the new project folder is created in the Eclipse workspace directory. If this is not what you want, uncheck the Use default checkbox and click the Browse... button to select the folder to be used for the new project.
  5. This should be an empty folder.

  6. If you want to create an EAR file for deployment on a remote server, click on the Add Project to an EAR checkbox so that Eclipse will generate an EAR project associated with the current web application project.
  7. Click Next.
  8. The next screen allows you to choose the facets to be used in the project. Selecting a facet causes various libraries and settings to be added to your project, such as JSP or Struts. Note that you can specify the version of some of these technologies by clicking on the version number to the right of the facet name.
  9. Click the Finish button to create a new project.

Related concepts

Web Applications
Web Application Projects

Related tasks

Importing existing web applications
Manage existing Java projects as web applications
Managing web applications

Related reference

New Web Application Wizard

 

Skip navigation bar   Back to Top