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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 5779
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Introducing delay in response
 
Similar Threads
Any Design Pattern for pricing & what to do with Award travel?
503 response code
Sun Server, MDB and timer service: timeout always called in single thread?
Delay the rendering of a HTML File
Error deserializing Object