Redirect servlet from struts result tag - Cache issue in Proxy server.
Joined: May 25, 2011
I am using struts2.
In my jsp page I have a link to render PDF report. I use following entries in the struts.xml file.
<!-- PDF Report -->
When I am deploying in the local tomcat server the PDFDashBoardReportServlet will open a PDF report properly in the web page.
But when i put a proxy server infront of the actual Tomcat server, PDFDashBoardReportServlet will give me back the report from the proxy cache.
It does not give me back the report for interest.
Logic of fetching a specific report based on the some parameter is written inside the servlet.
How to resolve this cache issue .. Please provide some pointer.
My understanding is that, if I am able to append some system date as a parameter to the requesting servlet url, then probably the proxy server will identify each the as a new request and fectch the report from the original backend server.