I have a jsp that get records from database. The problem is before getting the records there is another process in servlet that is responsible for putting in the records and it takes some time. The time the servlet redirects to the jsp it seems the records has not been inserted yet so my jsp unable to get the records. But after a while I execute the jsp again and it can get the records. So now I need some sort of way to make my jsp wait for a while after the redirect to get the records. Is there a way to do this. Or is there another way.
I am not doing a waiting screen now. Just need to get some records after some time elapse. The refresh page, how can I perform just once refresh after like 5 seconds. Not on every 5 seconds though. Thanks
Don't get me started about those stupid light bulbs.