Conservation of resonant periodic solutions for the one dimensional nonlinear Schrodinger equation.