Hi Narendra,
I tried setting content-type by
response.setHeader("content-type","video/mpeg");
in my
JSP and it works fine. So, there might be a mistake...
I have one more thought...
The question is
How do you "add" the content-type header "video/mpeg" to the response ?
if you consider "add", in that case even option 1 is not correct, because it is not adding the video/mpeg to content-type, it is resetting content-type to video-mpeg. So basically, both the answers are incorrect... and if there is an option of
response.addHeader("content-type","video/mpeg");
that would be correct...
Regards,
Sushma