Question: how to train dogs not to jump on visitors?
Answer: Wait 30 seconds to 1 minute, then, walk back in to calmly greet your dog. The moment your dog jumps, walk away again and close the door. Keep doing this until your dog no longer jumps, at which point you can reward him by not leaving and petting him. Try less subdued greeting with your dog and use the same approach.