WASHINGTON (CNN) -- How does the American public feel about the war in Afghanistan? In a word, wary.

U.S. forces have been engaged in fierce fighting to oust the Taliban in Afghanistan.

President Obama on Friday announced his strategy to fight terrorism in Afghanistan and Pakistan, a plan that includes more troops, new legislation, improved troop training and added civilian expertise.

"The United States of American did not choose to fight a war in Afghanistan. Nearly 3,000 of our people were killed on September 11, 2001," Obama said Friday.

"We have a clear and focused goal: to disrupt, dismantle and defeat al Qaeda in Pakistan and Afghanistan," he said.

Stressing that "the safety of people around the world is at stake," Obama said the "situation is increasingly perilous" in the region in and around Afghanistan, where the United States has been fighting al Qaeda and the Taliban for more than 7½ years after attacks in New York and at the Pentagon.

Don't Miss

Opposition to the war in Afghanistan is more muted than opposition to the war in Iraq, but it's not so muted among Democrats. Two-thirds of Americans overall oppose the war in Iraq, but 64 percent of Democrats oppose the war in Afghanistan.

"If we don't learn from our Iraq experience, we are doomed to repeat it," Rep. Lynn Woolsey, D-California, said on the House floor Thursday.

Why are Americans wary about Afghanistan? The recession. Iraq War fatigue. And frustration.

Only 31 percent of Americans believe the United States is winning the war in Afghanistan. Fifty percent believe the United States is winning in Iraq -- the highest number in at least five years. But Americans still want to get out of Iraq.

Last month, when President Obama said he would send 17,000 more U.S. troops to Afghanistan, the public was willing to give him the benefit of the doubt.

Democrats were willing to go along with the president, but they were less enthusiastic than Republicans

A solid majority of Americans believe the United States can win a military victory in Afghanistan, but Afghanistan has become a political war. Winning depends, not just on what the United States can do, but also what Afghanistan and Pakistan can do.

Americans have far less confidence in them.

The CNN/Opinion Research Corp. poll surveyed 1,046 adult Americans by telephone on February 18-19, 2009. The sampling error is plus or minus three percentage points.