A war hero with a tragic tale had humble beginnings as a pupil of a school in north Dorset.