# Deploying Web Applications

WSO2 AppServer supports Apache Tomcat based web application deployment. Now you can Deploy your custom web application under WSO2 AppServer. All you need to do is to bundle your web application as a '.war' archive with all your web application-related resources and all third party libraries needed, and then deploy the archive.

To deploy the web application, all you have to do is locate the archive file and upload it.

## Uploading Web Archive Files

To upload your web archive file, you have to create the '.war' file according to the standard web application format.

The folder structure of the web archive file will be as follows.

            HellowWorld.war
                index.html
                *.jsp
                WEB-INF/
                    web.xml
                    lib/
                    classes/
                META-INF/
                images/

Figure 1: Uploading a web archive file

1. In the navigator, under Manage/Applications, click Web Applications .
2. Click Browse to locate the file you want to upload. If you want to add multiple Webapps at the same time, click on the '+' sign at the right side, and new additional entry to upload a Webapp archive will appear each time you click. So you can select all the Webapps you want and deploy them at the same time.
3. You can also specify a version and select a virtual host for the web application.
4. Click Upload. The Running Applications page appears. Subsequently, if the web application is successful, it will appear in list. If the web application is faulty, a Faulty Web Application Groups link will appear. You can click the link to view the errors.

Note: Instead of using this user interface, you can also manually place the .war containing all the required files (or you can place a directory containing all the files required for the webapp), into CARBON_HOME/repository/deployment/webapps. These archive files (or directories) will be deployed as web applications.