本题出自课设电子图书馆,我负责电子图书馆的在线阅读
我是用generic开源的代码写的项目
开发过程:
下载generic地址:https://download.csdn.net/download/qing_shi/14323283
这个是下载好了以后放入项目中的位置
调用模块
其中
total=“http://localhost:8084/WebApplication1/web/viewer.html?file=1.pdf”
前面是viewer.html在项目中的地址 1.pdf是pdf存放的路径(我的直接放在了项目中)
self.location=total;
跳转到pdf界面
<html>
<head>
<title>TODO supply a title</title