blob: abfebbe57d8dcdd48f9b3fa11c79b622aad057fa [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>Web archive (WAR) files</title>
</head>
<body id="cwwarovr"><a name="cwwarovr"><!-- --></a>
<h1 class="topictitle1">Web archive (WAR) files</h1>
<div><p> A Web application is a group of HTML pages, JSP pages, servlets, resources
and source file, which can be managed as a single unit. A Web archive (WAR)
file is a packaged Web application. WAR files can be used to import a Web
application into a Web server.</p>
<p>In addition to project resources, the WAR file includes a Web deployment
descriptor file. The Web deployment descriptor is an XML file that contains
deployment information, MIME types, session configuration details, and other
settings for a Web application. The Web deployment descriptor file (<span class="filepath">web.xml</span>)
provides information about the WAR file is shared with the developers, assemblers,
and deployers in a J2EE environment.</p>
<div class="p">The Web development environment provides facilities for importing and exporting
WAR files, using the following wizards: <ul><li><span>Import Resources from a WAR File</span>, which requires that you to
specify a Web project. You can use existing projects or create them as you
use the wizard.</li>
<li><span>Export Resources to a WAR File</span>, which requires only an export
location and some optional settings</li>
</ul>
</div>
</div>
<div><div class="relconcepts"><strong>Related concepts</strong><br>
<div><a href="cwebresources.html">Web resources</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br>
<div><a href="twimpwar.html">Importing Web archive (WAR) files</a></div>
<div><a href="twcrewar.html">Exporting Web Archive (WAR) files</a></div>
</div>
</div>
</body></html>