*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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