testing jsp to create punishment