The cameo would have been in the first Spider-Man movie, not Spider-Man 2, so keep in mind that it was in the very early days of the current era of Marvel movies. The first X-Men movie had just come out, and that was it. read more
Before Disney bought Marvel however, shows like Spectacular Spider-Man and Wolverine and the X-Men were in in their own little worlds, so Spider-Man would've never been able to team up with Hulk back then. read more