• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Introducing delay in response

 
Sriram Venkatesan P
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am displaying a static HTML file from a Web Server. I want an delay to be introduced so that the HTML is renderred only after 15 seconds. How can I achieve this?

Is it possible to configure JBoss to send the response back after a 15 seconds delay for all the requests it receives?

Thanks
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm, usually people want to know how to make pages appear faster...

Anyway, there is no server setting to do this. Though there are probably a number of things you could code up to accomplish this task. Perhaps code up a servlet to handle all html requests and add the delay in the servlet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic