  A non--relativistic and relativistic model in which astrophysical jets are
deflected on passing through an isothermal high density region is analysed. The
criteria for the stability of jets due to the formation of internal shocks are
discussed.
