Military records can be found in print materials, including government documents and other libraries' collections, in resources like ancestry.com, and in specialized online resources like Fold3.
This site primarily covers the information related to POWs held by the Nazis during WWII. It also has information on POW camps in Italy, Japan and other countries.