This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
and then rename webapp.jar to webapp.war, but the webapp won't run under tomcat. When I decompressed the webapp.jar with a tool, I found all the directories inside webapp.jar were placed in Tomcat's webapps directory, not in webapps/webapp.
I tried posting a similar question the Ant forum because i'm using Ant, but I don't have to use ant, I just have to make a war file.
This will make a war file containing the contents of webapp and store it in the webapps directory. (Thanks Rusty Enisin. I misunderstood the question.) [ August 02, 2005: Message edited by: Tarun Gandhi ]