WSO2 AppServer supports Apache tomcat based web application deployment as a latest feature. 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. This is a simple sample that demonstrates the functionality of the Web Application deployment support in WSO2 Application Server.
e.g. In MS Windows cd CARBON_HOME\samples\HelloWorldWebapp or in Linux cd CARBON_HOME/samples/HelloWorldWebapp
e.g. CARBON_HOME\samples\HelloWorldWebapp>ant or CARBON_HOME/samples/HelloWorldWebapp$ ant