Hi !!
One solution would be
response.sendRedirect("http://www.myplace.com/something.zip");
( i have tried this and it works);
Another obtion would be to open a binary stream with
res.getOutputStream()
set the proper content type
and than send the binary data.
(i don't know if this works )
p.s. please let me know about the solution .
Best wishes,
Andras
-----Original Message-----
From: Hunter Hillegas <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, May 06, 1999 7:00 PM
Subject: Downloading Using Servlets
>I have seen a lot of questions here about using servlets to upload files...
>I want to have a servlet push a file down to the client after they have
>entered some data (like email address). How do I do this?
>
>___________________________________________________________________________
>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