aspose file tools*
The moose likes JBoss/WildFly and the fly likes Introducing delay in response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Introducing delay in response" Watch "Introducing delay in response" New topic
Author

Introducing delay in response

Sriram Venkatesan P
Greenhorn

Joined: Aug 16, 2006
Posts: 5
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


Thanks and Regards,<br />Sriram
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

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.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Introducing delay in response