I have a situation where in I write to a text file programmatically using java and simultaneously I read from the same file using jQuery. The problem I face is jQuery is unable to find the updated content whenever a content is written into the text file via java.I have Googled a lot but the only results I find are for java and java processing and not for java and javascript (i.e A Client side and Server side)I am not sure if this is even possible.More about the question: I write into the file the crawling results using java and I am trying to display the same using javascript (jQuery.post() method). Any help is appreciated.Thanks in advance