how to genarate a zip file
fangzhu <[email protected]> Fri, 23 May 2003 20:25:00 +0900
| Newsgroups | gmane.comp.java.sun.autoapi |
|---|---|
| Message-ID | <004701c3211d$f30e3a70$6100a8c0@w2ka22e> |
This is a multi-part message in MIME format.
------=_NextPart_000_0043_01C32169.62B44590
Content-Type: text/plain;
charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
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
------=_NextPart_000_0043_01C32169.62B44590
Content-Type: text/html;
charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-2022-jp">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"MS UI Gothic" color=3D#0000ff size=3D2>Hi =
all,</FONT></DIV>
<DIV><FONT face=3D"MS UI Gothic" color=3D#0000ff =
size=3D2> i have an=20
image on my website</FONT><FONT face=3D"MS UI Gothic" color=3D#0000ff=20
size=3D2> and a xml file holding =
the information about=20
it. what i want to do is to allow the user who's interested in the =
image=20
download it with a generated text file which would hold the=20
information. so my idea is that when the request comes,=20
automatically create a temp folder in which is the =
image and=20
the generated text file, then zip it and send it to the =
user.</FONT></DIV>
<DIV><FONT face=3D"MS UI Gothic" color=3D#0000ff =
size=3D2> i know=20
there's a packege java.util.zip which could do this for me. but i don't =
know how=20
to use the packege.</FONT></DIV>
<DIV><FONT face=3D"MS UI Gothic" color=3D#0000ff =
size=3D2> is there=20
any tutorial about this or could someone send me a simple =
sample?</FONT></DIV>
<DIV><FONT face=3D"MS UI Gothic" color=3D#0000ff =
size=3D2> thanks in=20
advance.</FONT></DIV>
<DIV><FONT face=3D"MS UI Gothic" color=3D#0000ff =
size=3D2></FONT> </DIV>
<DIV><FONT face=3D"MS UI Gothic" color=3D#0000ff size=3D2></FONT><FONT=20
face=3D"MS UI Gothic" color=3D#0000ff size=3D2>With regards</FONT></DIV>
<DIV><FONT face=3D"MS UI Gothic" color=3D#0000ff=20
size=3D2>fangzhu<BR>---------------------------------<BR><A=20
href=3D"mailto:[email protected]">[email protected]</A> | from =
japan</FONT></DIV></BODY></HTML>
------=_NextPart_000_0043_01C32169.62B44590--
===========================================================================
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".