Democrats are complaining about President Barack Obama''s escalation of the war in Afghanistan and Republicans are unhappy with his promise to withdraw troops in 18 months, but Congress appears willing to approve the buildup''s $30 billion price tag.

Lawmakers planned to use two days of high-profile hearings on the war, beginning Wednesday, to express their misgivings about the plan, which calls for a quick infusion of troops through July 2011, when the U.S. will begin to withdraw its forces.

Obama pledged Tuesday night to an audience of Army cadets at the U.S. Military Academy that the shift from surge to exit strategy would depend on the military situation in Afghanistan.

"We will execute this transition responsibly, taking into account conditions on the ground," Obama said, declaring that the nation''s security was at stake and that the additional troops were needed to "bring this war to a successful conclusion."