Added timex taglib to check for current period. Also moved status and error messages to includemessage.jsp. <%@ taglib prefix="timex" uri="/WEB-INF/timex.tld" %> <timex:periodcheck checkDate="${command.periodEndingDate}"> <input name="save" type="submit" value="Save"> </timex:periodcheck> ... <%@ include file="/WEB-INF/jsp/includemessages.jsp" %> |