RE: PDF File Display in JSP-Struts

2003-11-14 Thread Jarrod M. Lugo
:[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

RE: PDF File Display in JSP-Struts

2003-11-13 Thread Nicholson, Robb
Any time he has to fix a bug or add a new feature, he knows exactly which file to edit ;-) -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 9:03 PM To: Struts Users Mailing List Subject: Re: PDF File Display in JSP-Struts I

Re: PDF File Display in JSP-Struts

2003-11-13 Thread Brandon Goodin
I remember in the pre-Struts days of someone on the JSP Interest mailing list talking about the fact that they had a 5000 line JSP page that implemented the entire app (complete with creating different forms and processing the results) -- all in a single page. And he was *proud* of it! Doesn't

RE: PDF File Display in JSP-Struts

2003-11-12 Thread David Gagnon
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

RE: PDF File Display in JSP-Struts

2003-11-12 Thread Larry Meadors
Are you using the jsp writer, or the servlet output stream? JSP writer assumes char data and totally borks the pdf. SOS assumes binary data. Larry === 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

RE: PDF File Display in JSP-Struts

2003-11-12 Thread Jarrod M. Lugo
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

RE: PDF File Display in JSP-Struts

2003-11-12 Thread Larry Meadors
:[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

RE: PDF File Display in JSP-Struts

2003-11-12 Thread Craig R. McClanahan
Quoting Larry Meadors [EMAIL PROTECTED]: 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.

Re: PDF File Display in JSP-Struts

2003-11-12 Thread Christian Bollmeyer
Am Mittwoch, 12. November 2003 21:31 schrieb Craig R. McClanahan: Quoting Larry Meadors [EMAIL PROTECTED]: 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

Re: PDF File Display in JSP-Struts

2003-11-12 Thread Larry Meadors
[EMAIL PROTECTED] 11/12/03 3:14 PM Am Mittwoch, 12. November 2003 21:31 schrieb Craig R. McClanahan: Quoting Larry Meadors [EMAIL PROTECTED]: 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

Re: PDF File Display in JSP-Struts

2003-11-12 Thread Craig R. McClanahan
Quoting Christian Bollmeyer [EMAIL PROTECTED]: Am Mittwoch, 12. November 2003 21:31 schrieb Craig R. McClanahan: Quoting Larry Meadors [EMAIL PROTECTED]: Why would you ever do this? This looks like a complete and total kludge. If you are sending back binary data (application/pdf),

PDF File Display in JSP-Struts

2003-11-10 Thread Abhijeet Mahalkar
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...

RE: PDF File Display in JSP-Struts

2003-11-10 Thread shirishchandra.sakhare
Are you setting the mime type properly on the response object? -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 1:55 PM To: Struts Users Mailing List Cc: WebSphere User Group Tech Q A Forum Subject: PDF File Display in JSP-Struts Hi

RE: PDF File Display in JSP-Struts

2003-11-10 Thread Nail, Evan Burke
PROTECTED] Subject: RE: PDF File Display in JSP-Struts Are you setting the mime type properly on the response object? -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 1:55 PM To: Struts Users Mailing List Cc: WebSphere User Group Tech Q

RE: PDF File Display in JSP-Struts

2003-11-10 Thread shirishchandra.sakhare
- From: Nail, Evan Burke [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 2:17 PM To: Struts Users Mailing List Subject: RE: PDF File Display in JSP-Struts Also, You have to make sure that nothing is written out to the stream before you set your content type. Also I did this just