Forums Register Login

I am getting old file from the server

+Pie Number of slices to send: Send
Tools Used :
Websphere Application Server 6.0
AS/400 v5r4
DB2 UDB

I am working on the web project which includes the reports to be generated in pdf format.
I am using RPG ILE programm to generate the report, which generates the real time report
and over write it into a specific folder (Library on AS/400) . Users access these files using
a jsp page with the help of various links to these pdf reports.
The first report generated can be fetched by user correctly. However, when user clicks the link with other searh parameters, it shows same old pdf file while the file on server is ovr written by the program.

I have added following code to jsp to remove file from the buffer

+Pie Number of slices to send: Send
 

I have added following code to jsp to remove file from the buffer



Which JSP?? Did you add these lines in the JSP where the links are?? If yes than this might not work. You should set these headers in the servlet that generates the PDF file i.e. in the response that returns the PDF file...
What are you doing? You are supposed to be reading this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 965 times.
Similar Threads
Problem in opening multiple browser
invalidate session object in struts2
Caching Problem with JNLP
JNLP downloads from JSP page
Response as PDF
How to control Caching in JBoss
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:37:49.