blob: 4300bf6be3d53784ac613b1cdc50d49ce79ec90b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//IETF//DTD HTML 4.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<!-- /*******************************************************************************
* Copyright (c) 2000, 2006 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></p>
<div class="section"><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><b>New
Static Web Project</b></span> wizard. </p>
<p>To create a new static
Web project, complete the following steps:</p>
</div>
<ol><li class="stepexpand"><span>Open the J2EE perspective </span> </li>
<li class="stepexpand"><span>In the Project Explorer, right click on Other Projects and select <strong>New-&gt;Other-&gt;Web-&gt;Static
Web Project</strong> from the context menu. The New Static Web Project wizard starts. </span></li>
<li class="stepexpand"><span>Follow the project wizard prompts</span> </li>
</ol>
<div class="section"><p><strong>General Information</strong></p>
<dl><dt class="dlterm">Project Facets </dt>
<dd>A facet represents a unit of functionality in a Web 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 facet appears in the wizard
when you select it. 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. </dd>
<dt class="dlterm">Target Runtime</dt>
<dd>Use this field to define a new installed runtime environment. Runtimes
are used at build time to compile projects. </dd>
</dl>
<dl><dt class="dlterm">Web Content Folder</dt>
<dd>The folder in which you want to store your publishable resources. </dd>
</dl>
</div>
</div>
<div><div class="relconcepts"><strong>Related concepts</strong><br>
<div><a href="ccstatic.html">Static Web projects</a></div>
</div>
</div>
</body></html>