Positive solutions of semilinear elliptic equations: a dynamical approach