On Thu, February 16, 2006 2:18 pm, zahid mohammed said: > Thanks for replying Frank. > Your question : Is the URL you are requesting the result of a GET, and > never > changing? > Answer: No. > Just to send a different URL I have appended a variable rand which has > different value everytime.This is a part of the code > > <form name="form1" method="post">
It's POST anyway, and the browser is never supposed to cache the result from a POST, so your good to go even without that random value. > and within the javascript function (onClick for "Next") I have > > document.form1.action='./GetOtherSet.do?rand='+parseInt(Math.random()*99999999); > document.form1.submit(); > > Is there any javascript function which would clear the cache? Not that I'm aware of. I would be surprised to find on... a web page shouldn't be able to clear a clients' cache programmatically I figure :) > Thanks, > Struts Programmer. Frank Computer Nerd. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]