For some reason in the U.S. Navy, at least around here the only way someone would get prosecuted for cheating is if the spouse presses it HARD, or if there are a ton of other things and they're trying to get them out. I never see it happen around here.
And by no means meant to imply it's only the guys. A LOT of cheating on the women's end. But then there's a lot of immaturity, too. Lots of young girls who have never been away from home and suddenly they're alone, in the house with money and other young wives and can do whatever they want. Recipe for disaster, LOL.
And if a guy really didn't want to cheat I believe the guys aren't going to try to make him.