• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PDF display in Struts 1.1 + IFrame

 
Bindu Sanju
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
regarding "URENT", please EaseUp
 
Richard Golebiowski
Ranch Hand
Posts: 213
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are just displaying a static file just set the IFrame src to the file path.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic