i don't know how to get the parameter from RequestBuilder

i tried

rb.sendRequest("json_mem="+json_obj.toString(), new RequestCallback()
{

........... }

and on ther server
req.getparameter(""json_mem") ;

and the result is null

how i can get the parameter in post method

On Jul 7, 11:08 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 7 juil, 20:47, Ahmed Shoeib <ahmedelsayed.sho...@gmail.com> wrote:
>
>
>
> > hi ,
> > converting the java object to JSON Done using
>
> > SONObject json_obj = new JSONObject();
> > json_obj.put("Member_Email",new JSONString(symbol));
> > json_obj.put("Member_type", new JSONString(type));
>
> > and send it using post method using RequestBuilder
>
> > try {
> >                                 rb.sendRequest(json_obj.toString(), new 
> > RequestCallback() {
> > .
> > .
> > .
> > .
>
> > }
> > }
>
> > i need to know how to get this object on the server and convert it to
> > object again
>
> Using any JSON parser; seehttp://json.org/for a list of Java (or
> other language) implementations.
> Note that GWT 2.1 M1 and M2 include org.json, needed for the
> RequestFactory.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to