After browsing a lot and wasting much time i managed to setup one player that is JWPlayer now this player is able to play the files whose location is in context path something like "video/test.flv". I gave the url of servlet which writes to the response using the outputstream. But jwplayer is not able to play the streamed file. Now i am struck and not able to find a solution for this. Then i found this question which is related to my problem. similar question
now in the answer someone said that its not possible, so what is the workaround is this impossible? please help me out, wanna sleep.
Thanks and regards