Update Java file and jsp page