You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by vijay shanker <vi...@gmail.com> on 2008/04/24 15:06:30 UTC

Sending a list of Strings in request

Hi folks,

please any one like to suggest me some way to sending a list of Stings to
server from client ?

I get a situation in which i have to send a list of IDs to server for
proccessing based on this list.

-- 
Regards,
Vijay Shanker

Re: Sending a list of Strings in request

Posted by Tatu Saloranta <co...@yahoo.com>.
--- vijay shanker <vi...@gmail.com> wrote:

> Hi Thierry,
> 
>    Thanks.
> 
>    This thing is not clear to me can you clarify
> some more on this topic

Actually I think the original question was vague, and
not necessarily directly or mostly related to httpcore
or httpclient packages. If you want concrete answer,
you need to ask concrete questions. Otherwise one
might be mistake your question as a variation of "can
you do my homework for me" post. :-)

There are plenty of ways of transferring sets of
identifiers between 2 end points; and only transport
protocol aspects (http) are relevant here.

-+ Tatu +-



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: Sending a list of Strings in request

Posted by vijay shanker <vi...@gmail.com>.
Hi Thierry,

   Thanks.

   This thing is not clear to me can you clarify some more on this topic

-- 
Regards,
Vijay Shanker

Re: Sending a list of Strings in request

Posted by Thierry Boileau <th...@gmail.com>.
Hi Vijay,

 >hi Thierry Boileau,
you can call me Thierry.

 >By "POST a String representation of the list" you mean to serialize 
ArrayListObject?
yes, something that you can easily parse on client's side such as "id1, 
id2, id3, etc.".


best regards,
Thierry Boileau

> hi Thierry Boileau,
>          By "POST a String representation of the list" you mean to serialize
> ArrayListObject?
>
> If this is right  then my case is some thind different i have to implement
> this web application in different  JVMs.
>
> i dont know my client's JVM. and yes this is an Desktop application which
> have an web interface too. so i want a single servlet to get request from
> both the interfaces.
>
>
>
>
> regards
> vijay
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: Sending a list of Strings in request

Posted by vijay shanker <vi...@gmail.com>.
hi Thierry Boileau,
         By "POST a String representation of the list" you mean to serialize
ArrayListObject?

If this is right  then my case is some thind different i have to implement
this web appliaction in different  JVMs.

i dont know my client's JVM. and yes this is an Desktop application which
have an web interface too. so i want a single servlet to get request from
both the interfaces.




regards
vijay

Re: Sending a list of Strings in request

Posted by Thierry Boileau <th...@gmail.com>.
Hi,

you can POST a String representation of the list, or POST a Web form 
that represents your list of IDs.

best regards,
Thierry Boileau

> Hi folks,
>
> please any one like to suggest me some way to sending a list of Stings to
> server from client ?
>
> I get a situation in which i have to send a list of IDs to server for
> proccessing based on this list.
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org