Why would you ever do this? This looks like a complete and total kludge. If you are sending back binary data (application/pdf), just do it from the action class using the response.getOutputStream() and return null from the execute method.
Advantages: - you already have everything you need right there - you eliminate the entry in struts-config - you eliminate a useless jsp - you can specify any content type (not just one per jsp) - you get better exception handling - the list could go on and on... Larry >>> [EMAIL PROTECTED] 11/12/03 11:43 AM >>> 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]