在后台的action 写了一个这个 并且把一个流传到了前台
InputStream fis = new FileInputStream(video);
byte[] buffer = new byte[4096];
while(true){
int count = fis.read(buffer);
if(count==-1){
break;
}
toClient.write(buffer, 0, count);
}
fis.close();
// 输出文件数据
toClient.close();
前台写了这样的来接收action的流
在viedo标签里写的 src="admin/Student_spbf.action?stuId=<%= StuId %>"
这样只能接收到一个缓存区的视频 就是视频就播放一段然后就卡住了 也没实现边加载边播放的功能
请问怎么才可以做到啊!!!急!!!