File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes opening a pdf from jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "opening a pdf from jsp page" Watch "opening a pdf from jsp page" New topic
Author

opening a pdf from jsp page

Confused
Ranch Hand

Joined: Jan 24, 2006
Posts: 54
How to open a pdf from a jsp page
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Technically, you don't.
A JSP is interpreted on the server.

I assume you want to open one in the user's browser.
If so, you do it the same way you would from a static HTML page.
Create a hyperlink that points to your PDF.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: opening a pdf from jsp page
 
Similar Threads
PDF
opening PDF file from jsp page
open pdf file from a JSP page
converting JSP to PDF - iText
jsp to pdf