Why does my itouch show an invalid error when I'm connected to the wifi?

I get the network all setup and the status bar says that I'm connected but when I go to safari it either says that it's connecting but it never finalizes or it shows me some sort of error message. This doesn't make sense because it appears that i have a good connection.
2 answers 2