Creating a static Web project
Show Me
In the workbench, you create and maintain resources for Web applications in Web projects. If you want to create a static, content-based Web application that contains no dynamic elements, such as JSP files or servlets, use the New Static Web Project wizard. If you later decide that you want to add dynamic elements to this project, you can convert the project to a dynamic Web project.
To create a new static Web project, open the Web perspective and complete the following steps:
- Select File > New > Static Web Project.
The New Static Web Project wizard appears.
- Provide a name for the Web project.
- Accept the default value in the Project location field (this is where your project is stored in your file system), or click Browse to choose a location from the file system.
- You have two options to proceed:
- If you want to accept the defaults associated with a static Web project, leave select the Finish .
- If you want to specify or customize the project options, select Next. The following step assumes you have chosen this option.
- Select one or more of the Web Project features.
The default selects the Default style sheet (CSS) check box, which creates a default CSS file (called Master.css) for the project.
- Select Next, and then select Use a default Page Template for the Web Site if you want your entire Web site to share a common page template.
If you want to use one of the sample templates provided, select Sample Page Template and then choose one of the templates shown in the Thumbnail box. If you want to use a template of your own, select User-defined Page Template and then click Browse to select the template from the file system.
- Click Finish. The wizard creates an empty project containing the appropriate folder structure, which you can see in the Project Explorer.
You can now begin creating or importing content for your Web project using Web Site Designer, Web resource editors (such as Page Designer), the New File wizards, or the Import wizards available from the File menu.