Below given code is for video streaming. This is fine with IE9 and firefox but it is not fine with Chrome and Mac Safari.
import java.io.*; import javax.servle
String diskfilename = "final.mp4"; response.setHeader("Content-Disposition", "attachment; filename=\"" + diskfilename + "\"" );
Just comment these two lines and then run on chrome your video will play.