Nuclear response in the continuum