<jsp:useBean id="now" class="java.util.Date" /> <c:if test="${now>expiry_date}"><span> Expired</span></c:if>