blob: d5b5d63223451f9c15d04b7a76dd7245982b9ac9 [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="concept" name="DC.Type" />
<meta name="DC.Title" content="Web archive (WAR) files" />
<meta content="WAR files, overview" name="DC.subject" />
<meta content="WAR files, overview" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/cwebresources.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/twimpwar.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/twcrewar.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="cwwarovr" 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>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 Java EE 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="../topics/cwebresources.html" title="">Web resources</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../topics/twimpwar.html">Importing Web archive (WAR) files</a></div>
<div><a href="../topics/twcrewar.html">Exporting Web Archive (WAR) files</a></div>
</div>
</div>
</body>
</html>