This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Well.. i got really good help on my last topic so here we go again.
I have searched the whole internet for a servlet like the one below who dynamic reads the file spitting out new content all the time.
Can anyone help on this one.
A shame you cant give eachother points cuz i would give 1000p for this one.
In my research i discovered that there are many ways of doing this function like.
If i just could repeat the function with delay or not without overload.
But i never managed to do it in anyway
your regards: Carsten Rasmussen
So ... a request comes in, and the response consists of the contents of the file? At a quick glance, the servlet seems to do that. Which difficulty are you encountering? And what does the Thread.sleep code block have to do with it?
Joined: Sep 22, 2009
I want to read data.txt constantly like reading chat-data
Could be a way of delaying and do the function again over and over.