modify the sql and jsp