Hi, I use servlet to send input from jsp to my java program. Later, java program will creat a wav file as the ouput. i will embed the wav file in html page. the problem is, when i want to key in new input, it will go through the same process but when i want to play the wav file, i will listen to the previous wav file even in server the wav file have been overwrite with new wav output. When i clear user cache before key in new input, I will get the latest output. Is there anyway for the servlet to clear user cache before send new input to java application?
I don't think there's any way to clear a client's cache. I would recommend finding a way to ensure that the cached version is not used, such as using a different filename for the wav file each time it is downloaded.