读书人

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

发布时间: 2011-12-22 23:36:25 作者: rapoo

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

读书人网 >Java相关

热点推荐