You should look for information on Multipart requests.
It's a modification of the standard http request that
uses a format similar to that used by the SMTP email
protocol. It's used for uploading files from a browser
to a server.

I think Struts has a handler for multipart requests,
and there is another one available at servlets.com in
the package com.oreilly.serlet.

good luck,

-Chris




--- Zhidong Yu <[EMAIL PROTECTED]> wrote:
> I want to use HTTP's POST method to send some very
> large and unknown
> length data to server. The servlet just receives the
> data and writes
> them to disk. The data may be larger than server's
> buffer size. 
> When the doPost method of my servlet is triggered,
> has all the content
> of the HTTP request been transferred to server side?
> 
> 
> If so, how can I POST very large data by HTTP POST
> method? 
> 
> If not, the calling to getInputStream() does open
> the valve to accept
> data. Am I right?
> 

> ATTACHMENT part 2 application/x-pkcs7-signature
name=smime.p7s



__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to