blob: d005b3ed4e6b8bf501b3a1c7436eb77c31f707c6 [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>
<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>Configuring Web applications using the Web deployment descriptor editor</title>
</head>
<body id="twedtwbx"><a name="twedtwbx"><!-- --></a>
<h1 class="topictitle1">Configuring Web applications using the Web deployment descriptor editor</h1>
<div><div class="skipspace"> <p>When you create a Web project, the New Web Project wizard places
a web.xml file in the project's WEB-INF directory. This file is used to specify
deployment information for modules created in the Web development environment
To open the web.xml file, double-click it (or double-click the Deployment
Descriptor icon in the Project Explorer view). The Web deployment descriptor
editor opens in the editing pane.</p>
<p>It is recommended that you use
the tabbed pages (views) to construct the deployment descriptor for your
Web application. Even though the Web deployment descriptor editor does provides
a source page of the web.xml file (from the <span>Source</span> tab), using the
tabbed pages is easier and introduces fewer errors. As you make changes on
these tabbed pages, the web.xml file is updated automatically. For instance,
when you use the New Servlet wizard to create a servlet in a Web project,
the appropriate servlet entry is automatically inserted into the web.xml
file.</p>
<p>In addition to the configuration information in the web.xml
file, you can also use this editor to edit other deployment descriptors in
the Web project, including information on bindings and IBM<sup>®</sup> extensions (ibm-web-bnd.xmi
and ibm-web-ext.xmi files).</p>
<p>To edit the deployment descriptor, click
the tabbed pages to locate attributes that you wish to add, edit or remove.
In addition, the sections in the Overview page contain links to existing
elements of the deployment descriptor. Click the links to open the appropriate
editor page to make updates or additions.</p>
</div>
</div>
<div><p><b class="relconceptshd">Related concepts</b><br />
<a href="ccwebxml.html" title="">The Web deployment descriptor editor</a><br />
</p>
<p><b class="reltaskshd">Related tasks</b><br />
<a href="twedtwbx1.html" title="">Working in the Overview page</a><br />
<a href="twedtwbx2.html" title="">Working in the Servlets page</a><br />
<a href="twedtwbxf.html" title="">Working in the Filters Page</a><br />
<a href="twedtwbx3.html" title="">Working in the Security page</a><br />
<a href="twedtwbx4.html" title="">Working in the References Page</a><br />
<!-- <a href="twedtwbxwsh.html" title="">Working in the WS Handler page</a><br />-->
<a href="twedtwbxp.html" title="">Working in the Pages page</a><br />
<a href="twedtwbxv.html" title="">Working in the Variables Page</a><br />
<!-- <a href="twedtwbxwse.html" title="">Working in the WS Extensions Page</a><br />
<a href="twedtwbxwsb.html" title="">Working in the WS Binding Page</a><br />-->
<a href="twedtwbxe.html" title="">Working in the Extensions Page</a><br />
</p>
</div>
</body>
</html>