There is a very complete example of this in the book "Google Web Toolkit Applications" by Ryan Dewsbury
-jason On Nov 11, 2008, at 6:05 AM, Manish Kumar wrote: > > Hi, > > Can anybody guide me anything simple to proxy the request at > server,since we > have only this solution to follow. > please provide if anybody is having script for this. > > Regards, > Manish > > ----- Original Message ----- > From: "Thomas Broyer" <[EMAIL PROTECTED]> > To: "Google Web Toolkit" <Google-Web-Toolkit@googlegroups.com> > Sent: Monday, November 10, 2008 9:42 PM > Subject: Re: Request Builder doesn't invoke the server (external) > > > > > > On 10 nov, 16:20, "Manish Kumar" <[EMAIL PROTECTED]> wrote: >> >> PMRequestBuilder builder = new PMRequestBuilder >> ("PUT","http://10.19.74.129:8000/pm/pubmodel.jsp?path=comments"); > [...] >> Can anybody please help me to find out the mistake. > > http://en.wikipedia.org/wiki/Same_origin_policy > > You just cannot contact another "origin" from the one the script/page > originates from; you'll have to proxy the request at your own server. > > > > --~--~---------~--~----~------------~-------~--~----~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---