This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to clear user cache?

 
Suka Hati
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Joe Sondow
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic