There are many methods to stop a dog's jumping, but not all will be successful. Lifting a knee, grabbing the paws, or pushing the dog away might work in some cases, but for most dogs, this sends the wrong message. Jumping up is often attention-seeking behavior, so any acknowledgment of your dog's actions provide an instant reward, reinforcing the jumping.
Resource guarding is exhibited by many canines, and is one of the most commonly reported behaviour issues to canine professionals.[50] It is seen when a dog uses specific behaviour patterns so that they can control access to an item, and the patterns are flexible when people are around.[51] If a canine places value on some resource (i.e. food, toys, etc.) they may attempt to guard it from other animals as well as people, which leads to behavioural problems if not treated. The guarding can show in many different ways from rapid ingestion of food to using the body to shield items. It manifests as aggressive behaviour including, but not limited to, growling, barking, or snapping. Some dogs will also resource guard their owners and can become aggressive if the behaviour is allowed to continue. Owners must learn to interpret their dog's body language in order to try to judge the dog's reaction, as visual signals are used (i.e. changes in body posture, facial expression, etc.) to communicate feeling and response.[50] These behaviours are commonly seen in shelter animals, most likely due to insecurities caused by a poor environment. Resource guarding is a concern since it can lead to aggression, but research has found that aggression over guarding can be contained by teaching the dog to drop the item they are guarding.[51] go here for more