如何在jsp页面中逐页显示pdf数据? [英] How to display pdf data pagewise in jsp page?

查看:319
本文介绍了如何在jsp页面中逐页显示pdf数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,先生,

我有一个PDF 30页面,我想在jsp中显示PDF,同样的jsp页面也有4 Button 1,2 3,4.

意味着有两个div,一个div显示1 pdf页面,第二个div是4按钮?

怎么做,你能帮我吗..

在此先感谢

我尝试过的事情:

我尝试使用Java代码,但未成功在jsp

Hello Sir,

I have One PDF 30 page, I want to display that PDF in jsp also same jsp page have 4 Button 1,2 3,4.

means there are two div, One div display the 1 pdf page and 2nd div is 4 button?

How to do that, Can U Please Do it for me ..

Thanks in advance

What I have tried:

I am tried java code but not sucess to display the pdf data in jsp

推荐答案

您可以使用 ^ ]显示PDF在页面内.它与Firefox内部使用的渲染代码相同.

您需要阅读文档并检查随附的演示,这将使您能够自己编写代码.这里没人会帮你的忙.
You can use PDF.js[^] to display the PDF within the page. It''s the same rendering code that Firefox uses internally.

You''ll need to read the documentation and examine the included demo, which will enable you to write the code yourself. Nobody here is going to do it for you.


这篇关于如何在jsp页面中逐页显示pdf数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆