fix success and error jsp pages