Welles' favorite film was Renoir's Grand Illusion, a film about this theme. It's Scorsese's favorite, too (he has three huge posters of it in his living room).
Renoir did another film about the war, Rules of the Game, which I (and Paul Schrader and Altman) think is the best film made.