It may be an issue with using white space inside your jsp.  I normally do
something like this (using a custom fo to pdf bean)...  (note: everything up
to, and including, the <c:set var="junkWhiteSpace"> is on one line)


<%@ page contentType="application/pdf" %><%@ taglib prefix="c"
uri="http://java.sun.com/jstl/core"; %><c:import var="blahFo"
url="/test/blah.fo" /><c:set var="junkWhiteSpace">

        <jsp:useBean id="foToPdf" scope="page" class="com...FoToPdf" />

        <c:set target="${foToPdf}" property="inputFo" value="${blahFo}" />

</c:set><c:out value="${foToPdf.pdf}" escapeXml="false" />

Regards,
Jarrod Lugo


-----Original Message-----
From: David Gagnon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 1:24 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: PDF File Display in JSP-Struts


It's not the Internet Explorer problem with pdf ?  Check
http://xml.apache.org/fop/servlets.html#ie

Let me know ... I can give clue on how I solved it.

/David

-----Message d'origine-----
De : Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
Envoyé : 10 novembre, 2003 07:55
À : Struts Users Mailing List
Cc : WebSphere User Group Tech Q & A Forum
Objet : PDF File Display in JSP-Struts



Hi All,
 I want to display one PDF file in my websphere struts framework. when i do
it without struts (only servlets ) it works but when i use JSP along with
struts it does not work. it does not read binary data properly... Is there
any body to help me out....


regards & thankx in advace...
Abhijeet Mahalkar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to