I understand there is a HTTP response header directive to disable page caching:
Cache-Control:no-cache
I can modify the header by "hand":
<%response.addHeader("Cache-Control","no-cache");%>
But is there a "nice" way to make the JSP interpreter return this header line in the server response?
(I checked the <%@page ...%> directive. It seems there is nothing like that.)
<% response.setHeader("Cache-Control", "no-cache"); response.setHeader("Cache-Control", "no-store"); response.setHeader("Pragma", "no-cache"); response.setDateHeader("Expires", 0); %>
– Sculptress