Elliptic Problems in Smooth and Non Smooth Domains