• Post Reply Bookmark Topic Watch Topic
  • New Topic

loading multiple URLs  RSS feed

 
Jazir MM
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i want to load multiple URLs(say 10 urls like yahoo.com,hotmail.com etc) from a servlet one after another at a 10 second interval.I can use sendRedirect() method for redirecting to a single URL but after that the control is lost from the servlet.Is there any way to do it?
regrads
jazir
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you can do it using JavaScript.
 
Jazir MM
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi gohar,
can u be littlt more specific that how is it possbile using java script?
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make a function in java script which opens the url in new page and then make a loop in Servlet which will call the function and pass the url in that function which will open the url in new page.
I think this is your problem?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!