Re: Sending asyncGet request twice

2008-11-04 Thread Thomas Broyer
On 4 nov, 07:52, 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.

Sending asyncGet request twice

2008-11-03 Thread ArunDhaJ
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

Re: Sending asyncGet request twice

2008-11-03 Thread Bryan
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