Classical and quantum studies of the photodissociation of a HX (X=Cl,F) molecule adsorbed on ice.