This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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.

 
 
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.