The correct answer to this question is Texas.
Well, I'm not sure which war you're referencing. But, if it's WWI, they did it through war bonds and taxes. Mostly war bonds.
The key foreign policy issues that America had to face during the 1800´s were: to protect United States ships; and to deal with pirates.