struts上传文件时每次写多少字节while((countin.read(Buffer))0){out.write(Buffer, 0, count)}在这里
struts上传文件时每次写多少字节
while((count=in.read(Buffer))>0){
out.write(Buffer, 0, count);
}
在这里写入时每次多少字节,能否更改?
[解决办法]
1024 ? 4*1024 别太小了就行,但也别过大
struts上传文件时每次写多少字节
while((count=in.read(Buffer))>0){
out.write(Buffer, 0, count);
}
在这里写入时每次多少字节,能否更改?
[解决办法]
1024 ? 4*1024 别太小了就行,但也别过大