Does Batman have time to plan?
Anyway, in a straight up fight I give it to Spidey over Batman. Batman may have the gadgets and be prone to planning for all contingencies, but Spidey is also for all intents and purposes a genius (not on the level of someone like Reed Richards, but he's pretty darn smart). Toss in the webs, and the fact that he outclasses Batman in speed, strength, reflexes, and very likely his ability to take a beating and he's in a league of his own here. Can't forget about the Spider-sense either which will warn him about everything Batman throws at him in advance. As long as Spidey plays it smart there's no reason he shouldn't win.