WASHINGTON — The House of Representatives agreed on Tuesday to provide $37 billion to continue financing America’s two wars, but the vote showed deepening divisions and anxiety among Democrats over the course of the nearly nine-year-old conflict in Afghanistan.

The 308-to-114 vote, with strong Republican support, came after the leak of an archive of classified battlefield reports from Afghanistan that fueled new debate over the course of the war and whether President Obama’s counterinsurgency strategy could work.

But Mr. Obama and top military officials said Tuesday that the disclosure of the documents should not force a rethinking of America’s commitment to the war. As Mr. Obama told reporters in the Rose Garden, “While I’m concerned about the disclosure of sensitive information from the battlefield that could potentially jeopardize individuals or operations, the fact is these documents don’t reveal any issues that haven’t already informed our public debate on Afghanistan.”

On a day of continuing political and military fallout over the leaked reports, Pentagon officials said that Pfc. Bradley Manning, 22, an Army intelligence analyst arrested last month on charges of leaking a video of an American helicopter attack in Iraq and charged this month with downloading more than 150,000 classified diplomatic cables, was a “person of interest” in an Army criminal investigation to find who provided the battlefield reports to the group WikiLeaks.