Re: multipart/form-data support

2011-01-03 Thread Pankaj Tiwari
Hi Chris, Thank you so much for pointing me to the right direction. The problem was with my SERVERURL. The server was sending back the response as 200. I should have checked that before :( Thanks Again, Pankaj On Mon, Jan 3, 2011 at 11:29 PM, Christopher Schultz < ch...@christopherschultz.net>

Re: multipart/form-data support

2011-01-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pankaj, On 1/2/2011 10:06 PM, Pankaj Tiwari wrote: > I have been trying to send multipart/form-data to the server. I have found > that the request never reaches the server. How are you checking to see if it reaches the server? > This is my client co

[OT] Re: multipart/form-data support

2011-01-03 Thread Pid
On 1/3/11 2:55 PM, Pankaj Tiwari wrote: > 1. Keep-Alive - I am not sure if that should cause any issues here. Why set it if you're not reusing the connection? > 2. The request never reaches the server. I have tried without the last > connect as well but nothing seems to work here. Check the resp

RE: multipart/form-data support

2011-01-03 Thread Caldarale, Charles R
> From: Pankaj Tiwari [mailto:panky.tiw...@gmail.com] > Subject: Re: multipart/form-data support > 2. The request never reaches the server. Then it can't be a Tomcat issue, can it? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and i

Re: multipart/form-data support

2011-01-03 Thread Pankaj Tiwari
1. Keep-Alive - I am not sure if that should cause any issues here. 2. The request never reaches the server. I have tried without the last connect as well but nothing seems to work here. When I run this piece of code, I do not get any exceptions or error on the client side but the request does not

Re: multipart/form-data support

2011-01-03 Thread Pid
On 1/3/11 3:06 AM, Pankaj Tiwari wrote: > I have been trying to send multipart/form-data to the server. I have found > that the request never reaches the server. Doesn't sound like a Tomcat problem to me then... > This is my client code, if I am missing something core in here. > > public sta

multipart/form-data support

2011-01-02 Thread Pankaj Tiwari
I have been trying to send multipart/form-data to the server. I have found that the request never reaches the server. This is my client code, if I am missing something core in here. public static void main(String args[]) { try { URL url = new URL(SERVERURL);