MegHab,
You can do this one of two ways.
On each cycle :-compose the next page's URL in JSP and insert into a META REFRESH (Google search if you don't know what it is)
compose the next page's URL and go to it after 1 second (1000 milliseconds)in javascript :
onload = function() {
var a = ......;//here write the rules for generating a
var b = ......;//here write the rules for generating b
setTimeout( function(){
location.search = 'a=' + a + '&b=' + b;
}, 1000 );
};
Please note: As written, the code won't give a 1 second cycle time. Rather, the page will reload 1 second after it has completely loaded, which is more likey what you want, though I must say it's a rather odd sort of application. I hope it's nothing sinister.
Airshow
Airshow
WiFi Lounge Lizard
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372