Bruno Lowagie <bruno <at> lowagie.com> writes:

> 
> thelime wrote:
> > if I click open then adobe reader opens but says it can't find the
> > file, if I click save it lets me save the file and I can open from my 
> > desktop
> > and it works fine.
> 
> I'm not sure what goes wrong here, but maybe it's an
> architectural problem. You say it works in Firefox,
> but not in MSIE. One of the first difference that
> come to mind, is that Firefox only needs 1 hit to get
> the PDF file. MSIE often needs 2, sometimes 3 hits to
> fetch the same file. Maybe that's where it goes wrong.
> Have you monitored what goes on on server side when
> you try to open the PDF in IE? What does the access log say?
> Does MSIE hit the server? How many times? How many bytes
> are sent with every hit?
> br,
> Bruno
> 


Thanks for the idea... Maybe I should explain a little bit more of my situation.
I have a Struts web application and on one of the Action classes I call a
utility class and it writes a PDF directly to the response output stream.  I'm
running on a Websphere environment. When I run my server locally the PDF
generation works in MSIE and Firefox, I can save or open the pdf and everything
works fine. I'm wondering if there is something else though once I deploy to my
test environment, maybe file serving or something. I think I'm going to try the
servlet route tomorrow and see if that helps out.  I tried writing the PDF out
inline but I ran into some caching problems from the adobe reader plugin.

Thanks for the help!

Eric




-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to