When do voters think it's justified to go to war?

Under what circumstances, if any, is the United States justified in using military force against another country?