How does hamlet react when he sees polonius body?

He's upset, and disappointed that it wasn't Claudius he'd killed. He had nothing but contempt for Polonius, though, so he doesn't grieve too badly. He soon puts him out of his mind so he can go back to yelling at his mother.