Creating a Web Application
This page describes how to create a web application, which you can host on the Application Server.
To create a Web Application, open WSO2 Developer Studio Dashboard and select Web Application from Application Server category.
Â
There are two ways to create a Web Application.
- Create New Web Application
- Import Web Application
With the first option, you will create a Web Application from the scratch. Give necessary information like Project Name, Web Context Root etc and click Finish.
Â
Now you will see a Web Application being created in the workspace and index.jsp file being opened for you.
You can implement the web application as you need.
Â
If you select Import Web Application option, you have to browse a location of Web Application Archive [WAR] file. Provide the Web Context Root.
Â
Now you will see, that the provided Web Application Archive file has been extracted and created a new Web Application.
As you did for all the other projects, you can export the created Web Application in to a deployable artifact by right click on the project and select Export Project as Deployable Archive. With this it will create you a WAR file, which you can deploy in to any WSO2 Application Server. At the same time, you can group it with a Carbon Application Project and create the Carbon Application Archive [CAR] and deploy in to the Carbon Server.