How to POST large data to servlet?
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?