I have used the following headers in the jsp files...but still caching of dynamic jsp page is taking place.
in Prod_category_selection.jsp
===============================
in the begining of file
<%
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires",0);
%>
also in header
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">
in the body has
<jsp:include page="/am1/en/includes/header.jsp"></jsp:include>
The above header.jsp is not getting refreshed.
To make it more clearer..
when a page is first requested, the request first comes to a webserver(webserver Ip
ort/...) and subsequently it is passed to application server(code resides here). In this situtation header.jsp is not getting refreshed.
But when I request for a page dirctly from application server(application server ip
ort/....), I see refreshed header.jsp, when browsing through different pages.
I am still facing the problem..can some one please guide me.
thanks,
-ps raju