A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Setting response in body
Joined: Oct 13, 2009
Oct 05, 2011 02:42:54
I need one help in my current development one of the requirement says:
The server will return 200-OK as a response(httpresponse).
If the panelist is verified then as a result,
the server must also return the panelist id of this panelist.
The server will place the panelist id inside the body of the 200-OK response in the following way:
<tdcp> <cmd> <ack cmd=”Init”> <panelistid>3849303</panelistid> </ack> </cmd> </tdcp>
Now what I can able to do is I can put the httpresponse as
And I can put
responseToClient= "<tdcp><cmd><ack cmd=”Init”><panelistid>3849303</panelistid></ack></cmd></tdcp>";
Now what does putting the above xml inside the body of 200-OK response mean??
and how it can be achieved.
Please help me thanks in advance
I agree. Here's the link:
subject: Setting response in body
Controller redirect to another Controller?
Do I need a separate Web Client?
@Responsebody for HTTP msg and a View to show the HTTP response msg
Respond to 3rd party requests
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014