put the null check in opdEntry.jsp