Critical Points for Elliptic Equations with Prescribed Boundary Conditions