I am developing an application in JSP which fetches a XML file from Internet, process the data and display it using JSP. I am using DOM parsers to process the xml file. Now the problem is that the file takes a long time to get downloaded and then only the processing starts. Is there any way to start the processing as soon as any xml data arrives and continue the two processes simultaneously. That is, as and when a new portion of data is received it should immediately be transferred for processing.
Can this be possible. Any help ?