This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.