You might want to look at the deflater() method. I believe you should
read the file in and then extract it using this method.
Look at the API documentation:
http://java.sun.com/j2se/1.3/docs/api/index.html
http://java.sun.com/j2se/1.3/docs/api/java/util/zip/package-frame.html
--
Antonio W. Lagnada
Ecommerce Consultant
[EMAIL PROTECTED]
This email address is specifically
for JSP-Interest email list.
Remove _NOSPAM for the actual email.
---- arun prakash <[EMAIL PROTECTED]> wrote:
> 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: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
___________________________________________________________________
To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax,
all in one place - sign up today at http://www.zdnetonebox.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets