Hey everyone,

Ok here is the deal..

I am using a servlet to create a txt file and after it is created I want to stream it to the client so they can download it.

So its like this
>User Selects Report and xmlHttpRequest is sent to the servlet
>servlet creates report
>servlet responds with newly created report
>User gets a download window to DL said report.

Any ideas?