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)? how can i do it ? and can u refer me a resource of how zip actually works i.e. i mean to say zip algorithm.