blob: dd9af088a4497a6c4ba34e52516fb853959b6f70 [file] [log] [blame]
<?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 lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2008 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" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Creating a static Web project" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<meta content="static Web projects, creating, Web projects, creating static" name="DC.subject" />
<meta content="static Web projects, creating, Web projects, creating static" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/ccstatic.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="twcresta" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<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 />
<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><span class="uicontrol">New
Static Web Project</span></span> wizard. </p>
<p>To create a new static
Web project, complete the following steps:</p>
</div>
<ol>
<li class="stepexpand"><span>Open the Java EE 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="../topics/ccstatic.html">Static Web projects</a></div>
</div>
</div>
</body>
</html>