| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html> |
| <head> |
| <!-- /******************************************************************************* |
| * Copyright (c) 2000, 2005 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ --> |
| <link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" /> |
| <title>Creating a static Web project</title> |
| </head> |
| <body id="twcresta"><a name="twcresta"><!-- --></a> |
| |
| <h1 class="topictitle1">Creating a static Web project</h1> |
| <div><p> 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 <span><span class="uicontrol">New |
| |
| Static Web Project</span></span> wizard. |
| <!--If you later decide that you want |
| to add dynamic elements to this project, you can <a href="twpcnvrt.html">convert the project to a dynamic Web project</a>.</p> --> |
| |
| |
| <p>To create a new static Web project, complete the following steps:</p> |
| |
| <ol> |
| <li>Open the J2EE perspective</li> |
| <li>In the Project Explorer, right click on Other Projects and select <b>New</b><b>> Other>Web>Static Web Project</b> from the context menu. </span> The New Static Web Project</span> wizard starts.</li> |
| <li>Follow the project wizard prompts<br> <br> </li> |
| </ol> |
| <p> |
| <b>Helpful field information and general terminology</b> |
| <br> |
| <br> |
| </p> |
| |
| <p><b>Project Facets</b></p> |
| <p>A facet represents a unit of functionality in a WTP project. For example, the Static Web Module facet enables the project to be deployed as a static web module. A brief description of a project facets appears in the wizard when you select it.<br> |
| <br> |
| Note that in many instances, you can view the constraints for a project facet by right clicking on the facet and selecting project constraints from the pop up menu. |
| </p> |
| |
| |
| |
| <p><b>Target Runtime</b></p> |
| <p>Use this field to define a new installed runtime environment. Runtimes are used at build time to compile projects. |
| </p> |
| |
| <p><b>Web Content Folder</b> |
| </p> |
| <p> |
| The folder in which you want to store your publishable resources. |
| </html> |