java代码:
byte abyte1[];
response.addHeader("Content-Disposition:", "inline;filename="+ Id + ".pdf");
response.setContentType("application/pdf");
response.setContentLength(abyte1.length);
response.getOutputStream().write(abyte1);
response.getOutputStream().flush();
JS代码
window.open("xxxxxxx");
这个怎么解决,在google、360等浏览器都没有问题