At the end of the film Harry Potter and the Chamber of Secrets, after Hagrid returns from Azkaban and Harry gives him a hug, Dumbledore gives him a standing ovation, and soon enough most of the entire hall is up and applauding.
Why is this?
The only thing Hagrid did that year was nearly get Harry and Ron killed by his pet spider, and all that did was confirm what Harry already knew: that Hagrid must have been innocent, so nothing was really gained from his advice to follow the spiders. And on top of all that, most of the students don't really seem to have any kind of relationship with Hagrid, especially not of the level Harry and Co do. So I'm confused as to why everyone decided to cheer for Hagrid's return.
What am I missing?