我使用的是ColdFusion7的<cfdocument>标签,使用CFEclipse并开发MacOS。我编写了以下代码: SitePoint.com - Introduction to ColdFusion 7 Thisis an example of PDF generation using ColdFusion 7.</
我在我的angularjs控制器中有一个像$scope.doc_details这样的作用域,我想用它通过一个标签来显示一个pdf文件,如下所示:但它没有加载到浏览器中,在我的chrome控制台中,我看到的是:
Failed to load resource: the serverresponded with a
但是对于PDF,我得到了initialPreview试图加载到img标签的PDF,结果他们没有显示什么可能的问题?当手动选择一个PDF时,使用“浏览”按钮可以很好地预览该PDF,但不能在initialPreview时预览。initialPreviewAsData: true, inputElement.parent().parent().attr('data-url') // Here is the pdf