suppose your deployment directory is "VoterApp" that is present in "d:\" then you go to that location from command prompt. After you type the below given....
d:\VoterApp>jar cf VoterApp.war .
c--->create war file
f---->specify the war file name
. --->dot represents the current directory.It tells us take everything of current directory and create war file of that aplication.
another precation is that you must give space between VoterApp.war and .(dot).
Joined: Oct 13, 2005
Welcome to the Ranch
Are you sure he is still trying to make that war file?