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 C:\wso2appserver-x.x.x\samples\HelloWorldWebapp or in Linux cd wso2appserver-x.x.x/samples/HelloWorldWebapp
e.g. C:\wso2appserver-x.x.x\samples\HelloWorldWebapp>ant or wso2appserver-x.x.x/samples/HelloWorldWebapp$ ant