In this paper we prove a uniqueness and existence theorem for the Dirichlet problem in W2,p for second order linear elliptic equations in unbounded domains of the plane. Here the leading coefficients are locally of class VMO and satisfy a suitable condition at infinity.
Necessary and sufficient conditions are offered for Sobolev type spaces built on rearrangement-invariant spaces to be continuously embedded into (generalized) Campanato and Morrey spaces on open subsets of the $n$-dimensional Euclidean space. As a consequence, the optimal target and domain spaces in the relevant embeddings are identified. Our general criteria are implemented to derive sharp embeddings in the class of Orlicz-Sobolev spaces.