Skip to Content
0
Former Member
Apr 14, 2005 at 02:09 PM

Show PDF in portal

75 Views

Hi Guys,

I need some help with displaying a PDF in a JSP file.

I know there has been a lot of writings about this but i havent been able to use it.

The setup is this.

I have a print service which calls an external URL which returns a PDF document. The document should be embedded in the portal application with the left and top navigation still reciding.

I have tried.

request.redirect

from the controller.

<i>No effect.</i>

<FRAMESET COLS="*">
          <FRAME SRC="<%=URL%>" >
</FRAMESET>

<i>The URL doesnt seem to get called.</i>

<htmlb:content design="showPDF" >
<htmlb:page title="showPDFpage" >
<IFRAME SRC="<%=URL%>" WIDTH="100%" HEIGHT="100%" > 
</htmlb:page>
</htmlb:content>

<i>Almost, but unable to adjust height</i>

<u><jsp:forward page ="<%=URL%>">

</jsp:forward></u>

<i>No effect</i>

I'm starting to lose faith, please help.

Br. Rasmus