By the variable transformation and generalized Hirota method, exact homoclinic and heteroclinic solutions for Davey-Stewartson II (DSII) equation are obtained. For perturbed DSII equation, the existence of a global attractor is proved. The persistence of homoclinic and heteroclinic flows is investigated, and the special homoclinic and heteroclinic structure in attractors is shown.