首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java相关 >

简单有关问题。file 用哪个import定义

2011-12-22 
简单问题。。file 用哪个import定义file 用哪个import定义InputStream is file.getImage().getBinaryStrea

简单问题。。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,
时间晚了,要不就给你实现了

热点排行