Lazy load :How to display multiple pdf documents as one with pdf.js?
问题 My purpose is to display pdf use pdf.js in lazy mode,I have two choice: Use disableRange=false It worked fine when use a url in nginx,but when I use a java sevlet url: /dowload/fileid/123,it doesn't load via 206 partial content (range requests) but 200 and then viewed in the viewer. public void download(String identNo,HttpServletRequest request,HttpServletResponse response) { File file = getFileFromServer(identNo); BufferedInputStream bis = null; OutputStream os = null; BufferedOutputStream