#### To deploy a web application

1. On the Deploy Enterprise Applications/Modules page, specify the location of the WAR file to deploy.

   The server machine is the host that is running the application server domain administration server. The client machine is the host on which you are viewing the Admin Console through a browser.

   - If the file resides on or is accessible from the client machine, click the radio button to specify a package file to upload to the Application Server.

     Click Browse to browse to the file, or type the full path to the file.

   - If the file resides on the server machine, or to deploy an un-packaged application from an exploded directory, click the radio button to specify a package file or a directory path accessible from the server.

     Type the full path name to the file or directory. Deploying from an exploded directory is for advanced developers and is not recommended for production environments.

2. Specify the following settings for the application:
   1. In the Application Name field, retain the default name, which is the prefix of the file name, or type another name.

      The default name appears if you chose to upload a file. The application name must be unique.

   2. In the Context Root field, enter a string that identifies the Web application.

      In the URL of the Web application, the context root immediately follows the port number (`http://host:port/context-root/...`). Make sure that the context root starts with a forward slash, for example: `/hello`.

   3. In the Virtual Servers field, identify the desired virtual server.

      To view the available virtual servers, select `Configuration —> HTTP Servicce —>Virtual Servers` in the navigation tree.

   4. In the Status field, by default, an application is available as soon as it is deployed. To disable the application so that is unavailable after Deploy Enterprise Applications/Modules page, uncheck the Enabled checkbox.
   5. In the Run field, to verify the structure and contents of the file before Deploy Enterprise Applications/Modules page, select the Verifier checkbox.

      Verification of large applications can be time-consuming. Verify the file if you suspect it is corrupt or non-portable.

   6. In the Precompile field, select the JSPs checkbox to precompile JSP pages. If you do not select this checkbox, the JSP pages are compiled at runtime when they are first accessed.

      Because compilation is often time-consuming, in a production environment select this checkbox.

   7. In the Libraries field, list any library (JAR) files required by the application.
   8. In the Description field, provide a meaningful description of the component.
3. Click OK to deploy the application.

######

###### More Information

Equivalent asadmin command

`deploy`

###### See Also

- To enable or disable an application or module