I,ve done it using:
String myURL = "../frame.html";
myURL += "?" + Math.random();
response.sendRedirect(myURL);
the url's are also changed with different random tags.But the problem stll
exists very much.
I've thought an alternative to stram the file to the browser through
Fil
tack a random number on the url.
String myURL = "../frame.html";
myURL += "?" + Math.rand();
response.sendRedirect(myURL)
The headers wouldn't help cachebust a static html file, you'll have to do it
this way.
HTH
pete
RITWICK wrote:
Hi,
I have redirected a page through
Hi,
I have redirected a page through
response.sendRedirect("../frame.html")
command.
Every time the servlet is called it updates the file.html & is redirected
to it.But the problem is the browser shows the file.html from its cache
everytime. Though the file ge