The gravitational anomalies in two dimensions, specifically the Einstein anomaly and the Weyl anomaly, are fully determined by means of dispersion relations. In this approach the anomalies originate from the peculiar infrared feature of the imaginary part of the relevant formfactor which approaches a δ-function singularity at zero momentum squared when m->0.