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>
-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
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
> 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
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
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
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);