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.
Originally posted by muthulingam Jayakanthan: Which files is mandory in a WAR file. I think web.xml is mandatory. Am I right, please help
You should put anything you put in your web application in a WAR file. Additionally it has a META-INF folder with a MANIFEST.MF file in it, through which you can declare libraries dependencies. This is the only difference with the same web-app deployed as a normal folder hierarchy.