----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

See Hunter's Java Servlet Programming Chapter 4 (pp.107fffor uploading
files).
-----Original Message-----
From: Thad Parker <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Date: Thursday, March 16, 2000 1:11 PM
Subject: Re: Mirroring images from a servlet


>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files.  Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>>> Is it possible to mirror image files from a servlet?  All I
>>> want to do is
>>> have the user enter the URL of an image into a form and then have the
>>> servlet mirror the image to the server.  I can't seem to
>>> figure out where to
>>> start even trying to do this. Any help would be greatly appreciated.
>>>
>>> Thad
>>
>> I'm not sure what you mean by "mirror image".  Do you mean, make the http
>> request to get the image then write the binary data to the file system?
>
>That's exactly what I mean.  Both jpegs and gifs.  No need to modify them,
>just get em and save em to the server.
>
>Thad
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Archives and Other:  <http://java.apache.org/main/mail.html>
>Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to