From TPM, here's a video compilation of statements made during the campaign by all three candidates about Pakistan and terrorism. Now we can appreciate the strength of someone who tells you, and the world, up front, what he intends to do, gets criticized for it, then goes ahead and does it. Then the rest of us catch up and acknowledge that he was right all along. It seems that candidate Obama was especially right about the thing that McCain was criticizing him for during the campaign: telling Pakistan well in advance what our intentions were, so that they can never complain that this was a sneak attack. So that they are seen by the whole world community to have accepted American aid for years with the knowledge that we reserved the right to take action within their country if circumstances warranted.
What is remarkable is that even during the campaign, even before he had access to all the information the president has, and the benefit of the advice of all the people the president has working on a problem like this, Obama still had this all figured out pretty much by himself. And in a way that was directly contrary to the conventional wisdom of the time.