File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
PDF display in Struts 1.1 + IFrame
Joined: Feb 23, 2006
Aug 12, 2010 11:47:35
HI Any body have idea how to display
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
Please help me about this .
Joined: Feb 23, 2007
Aug 12, 2010 11:54:26
regarding "URENT", please
Joined: May 05, 2010
Aug 12, 2010 16:08:12
If you are just displaying a static file just set the IFrame src to the file path.
<iframe src="PathToPDF" style="width:800px;height:1200px;border:1px solid #000000;z-index:1;" />
I agree. Here's the link:
subject: PDF display in Struts 1.1 + IFrame
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.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014