WASHINGTON — The military and the intelligence community are doing everything possible to find 26-year-old Sgt. Bowe Bergdahl, who was taken prisoner in Afghanistan nearly three years ago, Pentagon leaders said Thursday in the wake of criticism from the soldier's family.

Army Gen. Martin Dempsey, chairman of the Joint Chiefs of Staff, says there is a poster of the Hailey, Idaho, soldier inside U.S. Central Command's operations center as a constant reminder that he is missing in action.

"I can assure you that we are doing everything in our power, using our intelligence resources across the government, to try to find, locate him," Dempsey told reporters at the Pentagon.

He said he has met with Bergdahl's parents in his office and corresponded with them several times.

Bergdahl's parents went public this week with secret U.S. attempts to trade their son for Taliban prisoners in U.S. hands. They say they are frustrated by what they believe are stalled efforts to free him.

He is the subject of a proposed prisoner swap in which the Obama administration would allow the transfer of five Taliban prisoners long held at the U.S. military prison at Guantanamo Bay, Cuba.

But the proposal has been in limbo for months and faces serious opposition in Congress. The Taliban walked away from talks in March, saying the U.S. had reneged on several promises.

Asked about the swap, Defense Secretary Leon Panetta said he would only take such steps in accordance with the law, which requires that he insure that any detainees released from Guantanamo will not return to the battlefield.

"Frankly, there are no decisions that have been made with regards to that," Panetta told reporters.

Officials believe Bergdahl is being held by the Haqqani network, insurgents affiliated with the Taliban, probably in Pakistan.