<%@ attribute name="title" required="true" %> <%@ attribute name="duration" required="true" %> <%@ attribute name="sheet" %> <% response.addDateHeader("Expires", 0); application.setAttribute("duration", jspContext.findAttribute("duration")); %> ${title} <% if (jspContext.findAttribute("sheet")!=null) { %> <% } %>