Re: POSTing a file to a web page and reading response
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 09:40:54 -0400
someone12345 wrote:
Hi.
I'm trying to read raw data from disk, POSTING it to a site that
converts the file to another format, and then read and save the
response.
I have only found on the web information on how to post a string, not
binary data.
<http://commons.apache.org/fileupload/>
The key is to set the correct content type in the <form> tag, "multipart/form-data".
--
Lew
.
- Follow-Ups:
- Re: POSTing a file to a web page and reading response
- From: someone12345
- Re: POSTing a file to a web page and reading response
- References:
- POSTing a file to a web page and reading response
- From: someone12345
- POSTing a file to a web page and reading response
- Prev by Date: Re: Recomended books for learning Java
- Next by Date: Re: EJB Client Stub jar - Concept Evaluation
- Previous by thread: POSTing a file to a web page and reading response
- Next by thread: Re: POSTing a file to a web page and reading response
- Index(es):
Relevant Pages
|