I think you are in the right way. I would use the classe ZipFile or ZipInputStream (you have to look what is better), read the data and then write it in the directory (you can use java.io.FileOutputStream). I would write a simple program only to see exactly how the package goes from one entry to the other in the zipfile and how the entries look like (tip: you can debug the program and set watches ;-) ). If you need more information about these classes, you could look at the documentation. I use the Sun site very often: http://java.sun.com/j2se/1.3/docs/api/index.html Bye, Leila > > HI All., > I have seen the java.util.zip package but > what i want to do is extract the contents of the zip > file and store it in some directory using Java. How > can i do this... ?? > > thanx in advance > arun prakash. > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Thousands of Stores. Millions of Products. > http://shopping.yahoo.com/ > > ______________________________________________________________ > _____________ > To unsubscribe, send email to [EMAIL PROTECTED] and > include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: > http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
