Two jailed in stabbing incidents