where did the filming take place?
It was shot on over one hundred sets and locations, beginning with Chicago, New York City, Los Angeles.
Spider-Man 2
"Spider-Man 2" was shot on over one hundred sets and locations, beginning with a pre-shoot on the Loop in Chicago during two days in November 2002. The crew acquired a train of 2200 series cars, placing sixteen cameras for background shots of Spider-Man and Doc Ock's train fight. Principal photography began on April 21, 2003 in New York City and Chicago. The crew moved on May 13 to Los Angeles, shooting on ten major sets created by production designer Neil Spisak. After the scare surrounding his back pains, Tobey Maguire relished performing many of his stunts, even creating a joke of it with Raimi, creating the line "My back, my back" as Spider-Man tries to regain his powers. Even Rosemary Harris took a turn, putting her stunt double out of work. In contrast, Alfred Molina joked that the stunt team would "trick" him into performing a stunt time and again.

when did the second spider man movie come out In 2004. who was casted for the title role? The cast are Tobey Maguire alongside Kirsten Dunst, James Franco, Alfred Molina, Rosemary Harris, and Donna Murphy. who is the antagonist in this film? Dr. Otto Octavius.
wiki:13082414
Spider-Man 2 [SEP] Filming
"Spider-Man 2" was shot on over one hundred sets and locations, beginning with a pre-shoot on the Loop in Chicago during two days in November 2002. The crew acquired a train of 2200 series cars, placing sixteen cameras for background shots of Spider-Man and Doc Ock's train fight. Principal photography began on April 21, 2003 in New York City and Chicago. The crew moved on May 13 to Los Angeles, shooting on ten major sets created by production designer Neil Spisak. After the scare surrounding his back pains, Tobey Maguire relished performing many of his stunts, even creating a joke of it with Raimi, creating the line "My back, my back" as Spider-Man tries to regain his powers.