Hi guays,
I,m doing a website with JSF. I use Tomcat as a webcontainer. From the website, a user can change the content of a .txt file that is in the server. After that, the user can download that file. The problem is that tomcat provides the file with the previous content, it seems as though tomcat does not update the new file until 20 seconds has passed. After that period, I can download the file with the new content.
Can anyone give any idea, please. Thank you
I,m doing a website with JSF. I use Tomcat as a webcontainer. From the website, a user can change the content of a .txt file that is in the server. After that, the user can download that file. The problem is that tomcat provides the file with the previous content, it seems as though tomcat does not update the new file until 20 seconds has passed. After that period, I can download the file with the new content.
Can anyone give any idea, please. Thank you