WiFi problem

i use the wifi module and arduino mega 2560, and i try to test the http protocol --the get methods (from the Arduino Playground - WebClient)
I do as following. 1.i connect the wifi to my router (it is OK, i can ping the wifi module)
2.i change my data in the example.
the problem shows as following, i am puzzled where should i check?
avrdude: stk500v2_ReceiveMessage():timeout

Too little information. Which WiFi module (there are several)? How do you communicate with the WiFi module (SPI, SoftwareSerial, or Serial)?

If (as I suspect from the error) it is Serial you need to disconnect the WiFi module while you are uploading a new sketch to your Mega. Otherwise the WiFi module is also responding to the communication between avrdude and the 2560 confusing everyone in the process.

Sembazuru:
Too little information. Which WiFi module (there are several)? How do you communicate with the WiFi module (SPI, SoftwareSerial, or Serial)?

If (as I suspect from the error) it is Serial you need to disconnect the WiFi module while you are uploading a new sketch to your Mega. Otherwise the WiFi module is also responding to the communication between avrdude and the 2560 confusing everyone in the process.

yessssss, you are right,i don't realize to remove the wifi module when i upload the program. thank you very muchhhhh~~~~