We, in this paper, consider the semilinear elliptic boundary value problem - ∆u = f(x, u) in Ω and u = g on ∂Ω and the corresponding Bolza problem x'' + ∂V(t, x) =0, x(0)= x0, x(T)= x1, where Ω is a bounded open subset in R^n with C² boundary and g is a given continuous function on the boundary of Ω; and T is the given traveling time, x0,x1 are two fixed points in the state space Rn. Under certain conditions on f and V, we show that the above problems have infinitely many solutions