By using the homogeneous balance principle(HBP), we derive a Backtund transformation(BT) to the generalized dispersive long wave equation with variable coefficients.Based on the BT, we give many kinds of the exact solutions of the equation, such as, singlesolitary solutions, multi-soliton solutions and generalized exact solutions.