日期:2014-05-20  浏览次数:20868 次

简单问题。。file 用哪个import定义
file 用哪个import定义
InputStream is = file.getImage().getBinaryStream(); 
response.setContentType("image/jpeg"); 
  response.setContentLength(is.available()); 
  while(true){ 
  int size = is.read(); 
if( -1 == size ){ 
break; 

out.write(size);  
out.flush() ;
}
  is.close();

Multiple annotations found at this line:
- file cannot be resolved
- Line breakpoint:test3.jsp 
[line: 19]
显示这个错误

------解决方案--------------------
还有问题可以加QQ群90283079,
时间晚了,要不就给你实现了