回复:how to genarate a zip file

Hou Guangtao <[email protected]> Mon, 26 May 2003 19:39:07 +0800
Newsgroups gmane.comp.java.sun.autoapi
Message-ID <[email protected]>
you idea is interesting!but i no anything that is useful to help you.
pity!
-----  原文  -----
From: fangzhu
To: [email protected]
Subject: how to genarate a zip file
Sent: Fri May 23 19:25:00 CST 2003

> Hi all,
>     i have an image on my website and a xml file holding the information
> about it. what i want to do is to allow the user who's interested in the
> image download it with a  generated text file which would hold the
> information. so my idea is that when the request comes, automatically create
> a temp folder in which is the image and the generated text file, then zip it
> and send it to the user.
>     i know there's a packege java.util.zip which could do this for me. but i
> don't know how to use the packege.
>     is there any tutorial about this or could someone send me a simple
> sample?
>     thanks in advance.
>
> With regards
> fangzhu
> ---------------------------------
> [email protected] | from japan

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff AUTOAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".