I have a problem while developing a zip utility in java. we can zip a file and but not a directory(according to my knowledge)?
Thats not true
Using Zip utility provided by Java
and can u refer me a resource of how zip actually works i.e. i mean to say zip algorithm.
See the ZipInputStream and ZipOutputStream at http://java.sun.com/j2se/1.4.2/docs/...e-summary.html