posted 13 years ago
Long, long ago when mammals were still scurrying under the feet of the dinosaurs, I used to use DOS batch command files to build WARs. But then Ant and Maven came out and I gave that up. The task of assembling a WAR is just more complicated than it's worth doing batch scripts for, much less typing in commands straight from the command line.
Yes, you can build a WAR using the JAR command. In fact, you can even use the ZIP command, but that just means more work you have to do yourself that something else could do for you. So I do recommend Ant or Maven.
Still, what you're doing is theoretically correct. It will work as long as the working directory you're in is structured like a WAR must be structured.
"Disappointing" and "Utterly Horrible" are not equal.