return mapping.findForward(SUCCESS);
}
void addComment(EntityManager em, String userName, Report report, String comment) {
em.getTransaction().begin();
ReportComment rc = new ReportComment(Utils.getNextId(ReportComment.class));
rc.setComment(comment);
rc.setReportId(report);
rc.setCommentDate(new Date());
rc.setNbuserId(getNbUser(em, userName));
em.persist(rc);
em.getTransaction().commit();
}