For example, I work on a Unix(HP) box, it is installed with the tar command. I tried the same command, it did not archive empty directories for me either. I have a linux server at home, but naturally I am unable to test it at this time.
So there could be an issue with which environment or version of tar you are using?
Thanks for all the replies. I got the problem. The issue is that the tar compresses empty folders. But when I transfer it to Windows system, and extract it using WinZip, the empty folders are missing (WinZip is not showing the empty folders, even when I view the contents of the tar file). Now, how can I extract the tar file in Windows, with out any problem?