rest and jsp work together