Can anyone tell me that why we are putting our web applicaton in web-apps folder only?? How server recognizes the presence of application in webapps folder? [ June 20, 2008: Message edited by: Asif Kadiwala ]
The webapps directory is the the default place to put web apps but it's far from the only place you can put them. Tomcat allows you to configure multiple hosts. Each host has an appBase attribute which can point to any directory you choose. Furthermore, you don't even need to place your app in its host's appBase directory. You can configure the docbase to point to any directory on your system that Tomcat can see.