We consider the problem ǫ 2 ∆u − V (y)u + u p = 0, u > 0in Ω, ∂u ∂ν = 0 on ∂Ω,where Ω is a bounded domain in R 2 with smooth boundary, the exponent p > 1, ǫ > 0 is a small parameter, V is a uniformly positive, smooth potential onΩ, and ν denotes the outward normal of ∂Ω. Let Γ be a curve intersecting orthogonally with ∂Ω at exactly two points and dividing Ω into two parts. Moreover, Γ satisfies stationary and non-degeneracy conditions with respect to the functional Γ V σ , where σ = p+1 p−1 − 1 2 . We prove the existence of a solution u ǫ concentrating along the whole of Γ, exponentially small in ǫ at any positive distance from it, provided that ǫ is small and away from certain critical numbers. In particular, this establishes the validity of the two dimensional case of a conjecture by A. Ambrosetti, A. [4]).