| <?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> |
| <link rel="stylesheet" type="text/css" href="../../com.ibm.help.doc/swg_info_common.css" /> |
| <title>Web archive (WAR) files</title> |
| <script language="JavaScript"> |
| function popup_window( url, id, width, height ) |
| { |
| popup = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + ',left=,top=' ); |
| popup.focus(); |
| } |
| </script><script language="JavaScript" src="help/liveHelp.js"></script></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><p><b class="relconceptshd">Related concepts</b><br /> |
| <a href="ccwtover.html" title="">Web application overview</a><br /> |
| <a href="cwebdevelopmenttools.html" title="">Web development tools</a><br /> |
| <a href="ccwebprj.html" title="">Dynamic Web projects and applications</a><br /> |
| </p> |
| <p><b class="reltaskshd">Related tasks</b><br /> |
| <a href="../org.eclipse.wst.webtools.doc.user/topics/twimpwar.html">Importing Web archive (WAR) files</a><br /> |
| <a href="../../org.eclipse.wst.webtools.doc.user/topics/twcrewar.html">Exporting Web archive (WAR) files</a><br /> |
| </p> |
| </div> |
| <br /> |
| (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| </body> |
| </html> |