# pdf_js **Repository Path**: god007/pdf_js ## Basic Information - **Project Name**: pdf_js - **Description**: 基于pdf.js插件实现的一个跨域打开pdf文件的实例 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2017-07-10 - **Last Updated**: 2023-07-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 部署环境 tomcat+jdk 无需任何依赖 ### 打开方式 - http://hostname:端口/项目名称/?pdf_url=http://xx.xx/xx.pdf ####或者 - http://localhost:端口/项目名称/viewer.html?pdf_url=http://xx.xx/xx.pdf ![跨域打开pdf](https://git.oschina.net/uploads/images/2017/0710/180601_559f5f06_765818.png "跨域打开pdf") ####若无参数则打开默认页面 helloworld.pdf ![缺少参数打开默认pdf](https://git.oschina.net/uploads/images/2017/0710/180633_b485348b_765818.png "缺少参数打开默认pdf")