Re: Problem with Struts2 JSON RPC using simple HTTP Post

2009-12-04 Thread Frans Thamura
i am succesfully also using DOJO, but never succes using JavaME and Swing may be u can share with us we use swing with http client instead JSONRPC On Sat, Dec 5, 2009 at 1:02 AM, Prasenjit Bhadra wrote: > Hi guys, > > Thanks.This works fine now. I passed the single object instead of an > el

Re: Problem with Struts2 JSON RPC using simple HTTP Post

2009-12-04 Thread Prasenjit Bhadra
Hi guys, Thanks.This works fine now. I passed the single object instead of an element of the list. Have to Wrap the params as a List (i.e; "Params": ["obj1","obj2" ,.]) This would help us to extend JSON framework with almost any platform as long as we have a serializing - de-serializing comp

Re: Problem with Struts2 JSON RPC using simple HTTP Post

2009-12-04 Thread Frans Thamura
i am glad if we can have a .war with JSON, like show case make it independent example, we can extend with another tech, such as swing, jquery, or may be php F

Re: Problem with Struts2 JSON RPC using simple HTTP Post

2009-12-04 Thread Musachy Barroso
see my previous reply. On Thu, Dec 3, 2009 at 4:10 PM, Prasenjit Bhadra wrote: > I have developed a native client interface which calls struts2 JSON RPC > using post method. I have set content type, content length as suggested in > the spec. The request body looks like as follows : {"method": > "