As Steven J. Hadley , the national security adviser , put it to reporters in New Delhi on the eve of the Islamabad trip : '' Pakistan is both an ally in the war on terror and , in some sense , a site where the war is being carried about . ''