I'm not sure if it will be the same, but you should be using RequestBuilder as opposed to HTTPRequest(which was deprecated as of gwt 1.5).
bryan On Nov 4, 12:52 am, ArunDhaJ <[EMAIL PROTECTED]> wrote: > Hi All, > When I use HTTPRequest's asyncGet, it sends the request twice. This > creates problem in my application. > On a request I send a "name" parameter as query string, the servlet > makes a database entry with this value which is a unique field. > > When I use asyncGet it adds an entry into the database without any > problem, since its sending the request again(I don't know why) adding > a duplicate entry in unique field throws exception. > > Please anyone explain me why it sends the request twice and is there > any workaround to do the above operation without using asyncGet??? > > Thanks in Advance ! > > -ArunDhaJ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
