File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes PDF display in Struts 1.1 + IFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "PDF display in Struts 1.1 + IFrame" Watch "PDF display in Struts 1.1 + IFrame" New topic
Author

PDF display in Struts 1.1 + IFrame

Bindu Sanju
Greenhorn

Joined: Feb 23, 2006
Posts: 16
HI Any body have idea how to display PDF file in IFrame using Struts action. File should access from server

server means it will be available under /script_root/PDF/example.pdf , this file should take from action & display in IFrame JSP.

Please help me about this .
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
regarding "URENT", please EaseUp
Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

If you are just displaying a static file just set the IFrame src to the file path.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PDF display in Struts 1.1 + IFrame
 
Similar Threads
IFrame and word document
How to store the PDF file in the server side?
Displaying bytearray content in iframe
How to display a property in JSP?
Displaying a tile JSP in Iframe pop up.