server sees no body when doing HTTP POST

2001-01-29 Thread Steinar Bang
Platform: SuSE linux 6.2 (w/kernel version 2.2.14), Blackdown JDK 1.1.7v3 I've been trying to write a small test program that writes a multipart/form-data body to an apache Tomcat servlet, using HTTP POST. What happens is that the servlet sees the headers, but not the body of the message I'm t

Re: server sees no body when doing HTTP POST

2001-01-29 Thread Steinar Bang
>>>>> Steinar Bang <[EMAIL PROTECTED]>: > Platform: SuSE linux 6.2 (w/kernel version 2.2.14), Blackdown JDK 1.1.7v3 > I've been trying to write a small test program that writes a > multipart/form-data body to an apache Tomcat servlet, using HTTP > POST. &

Re: server sees no body when doing HTTP POST

2001-01-29 Thread Steinar Bang
>>>>> Steinar Bang <[EMAIL PROTECTED]>: >>>>> Steinar Bang <[EMAIL PROTECTED]>: >> Platform: SuSE linux 6.2 (w/kernel version 2.2.14), Blackdown JDK 1.1.7v3 >> I've been trying to write a small test program that writes a >>

Re: server sees no body when doing HTTP POST

2001-01-30 Thread Steinar Bang
> "John D. Mitchell" <[EMAIL PROTECTED]>: > In general, with respect to dealing with HTTP in Java, rather than > reading all of the related RFCs and trying to implement them > yourself, Hm... I'm not sure if I get your meaning here...? Using URLConnection is definitely a step up from implem

Adjusting heap size (Was: server sees no body...)

2001-01-30 Thread Steinar Bang
>>>>> Steinar Bang <[EMAIL PROTECTED]>: > Right now I'm getting java.lang.OutOfMemory exceptions, when trying to > write a 12MB file in an HTTP POST: > java.lang.OutOfMemoryError: > at java.io.ByteArrayOutputStream.write(By