users@jersey.java.net

[Jersey] Re: How to set two values of the same type in Response

From: Jason Erickson <jason_at_jasonerickson.com>
Date: Tue, 5 Jul 2011 17:50:48 -0700

a) I'm sorry, I'm not very familiar with the Jersey client side stuff.
b) As far as why you would get a blank value, have you used something like Firefox Poster plugin or Fiddler or HTTPScoop to see the contents that are actually in the response? Then you could tell if the problem is that the server-side is not doing what you expect or the client-side is not doing what you expect.
c) Setting multiple values in a list would be my option #1 except that I don't know what the format would be. Again, using a tool like Fiddler to examine the response would be helpful.

On Jul 5, 2011, at 5:39 PM, Jitesh wrote:

> Thanks Jason.Three questions -
>
> a.)How do I read the header on client side?
> b.)Why am I getting blank value even when I am setting only one value - as I
> mentioned in my post#2 of this thread?
> c.)Can't I set multiple values in a list, add that to Response and then get
> it on client side?If yes,how do I do it?
>
> Thanks much.
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/How-to-set-two-values-of-the-same-type-in-Response-tp6550971p6552569.html
> Sent from the Jersey mailing list archive at Nabble.com.