| <?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, 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" /> |
| <meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" /> |
| <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 dynamic Web project" /> |
| <meta name="abstract" content="You create and maintain the resources for your Web applications in Web projects." /> |
| <meta name="description" content="You create and maintain the resources for your Web applications in Web projects." /> |
| <meta content="dynamic Web projects, creating, Web projects, dynamic" name="DC.subject" /> |
| <meta content="dynamic Web projects, creating, Web projects, dynamic" name="keywords" /> |
| <meta content="XHTML" name="DC.Format" /> |
| <meta content="twcreprj" 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 dynamic Web project</title> |
| </head> |
| <body id="twcreprj"><a name="twcreprj"><!-- --></a> |
| |
| |
| <h1 class="topictitle1">Creating a dynamic Web project</h1> |
| |
| |
| |
| <div><p>You create and maintain the resources for your Web applications |
| in Web projects.</p> |
| |
| <div class="section"> <p> Unlike with <a href="twcresta.html" title="">static</a> Web |
| projects, dynamic Web projects enable you to create resources such as JavaServer |
| Pages and servlets.</p> |
| <p>To create a new dynamic Web project, complete the |
| following steps:</p> |
| </div> |
| |
| <ol> |
| <li><span>Open the J2EE perspective.</span></li> |
| |
| <li><span>In the Project Explorer, right click on Dynamic Web Projects, and |
| select <span class="menucascade"><span class="uicontrol">New</span> > <span class="uicontrol">Dynamic Web Project</span> |
| </span> from the context menu. The New Dynamic Web Project wizard starts.</span> |
| </li> |
| |
| <li><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 Dynamic Web Module facet enables the project to be deployed as a dynamic |
| 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> |
| |
| |
| <dt class="dlterm">Enterprise Application project (EAR Project)</dt> |
| |
| <dd>A new or existing Enterprise Application project (EAR Project) must be |
| associated with your new Web project to facilitate deployment. If you want |
| to override the default settings for the Enterprise Application project, you |
| can do so using the wizard. When your Web project is created at the end of |
| the wizard, the new Enterprise Application project is also created with the |
| name specified in the EAR project field. Note that the default is the name |
| of the web project appended with EAR (unless the ear project was selected |
| when you opened the wizard.)</dd> |
| |
| |
| <dt class="dlterm">Context Root</dt> |
| |
| <dd>The context root is the Web application root, which is the top-level directory |
| of your application when it is deployed to the Web server. You can change |
| the context root after you create a project using the project Properties dialog, |
| which you access from the project's pop-up menu. The context root can also |
| be used by the links builder to ensure that your links remain ready to publish |
| as you move and rename files inside your project.</dd> |
| |
| </dl> |
| </div> |
| |
| </div> |
| |
| |
| </body> |
| </html> |