请指点,byte c[]=new byte[60];
int n=0;
while((n=bufferin.read(c))!=-1)
{String temp=new String(c,0,n);
out.print(temp);
}
是什么意思的呢?给跟了
int n=0;
while((n=bufferin.read(c))!=-1)
{String temp=new String(c,0,n);
out.print(temp);
}
是什么意思的呢?给跟了
解决方案 »
- hibernate获取一个表的2个属性
- The type net.sf.hibernate.LockMode cannot be resolved. It is indirectly 问题 谢谢各位
- hibernate+spring 插入数据 高手请进
- 百分求助,jsp中是否有。net中的Request.Browser.IsMobileDevice方法
- jsp与sqlserver连接一直不成功,求救
- useBean出错了
- 怎样用RESIN做服务器,连接MYSQL服务器?
- 请教Servlet在运行机制上与CGI程序的不同点
- j2ee项目里,配置文件是放在src/main/resources目录下还是WEB-INF目录下?呢
- springboot配置https启动总是出现端口占用
- 请问判断两个单选按钮中选择其中一个是,在javascript中怎样判断?
- 关于使用jspsmart遇到的问题?
----------把流中的字节读到字节数组c中,n是读入到数组中的字节个数,-1代表结束
{String temp=new String(c,0,n);
-----------把字节数组转换成字符串
out.print(temp);
}
}
bufferin.close();
in.close();
}
catch(IOException e)
{
是的,那上面的是什么意思呢?小第谢了