• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts - xml to generate pdf - error with IE

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We are creating a J2EE application, working with the struts framework, generating a pdf file using XML, XSLT, fop.

� While opening the file from the local box (using Weblogic server 8, OS: Windows 2000), the file is opening and also getting saved properly.
� While opening the file from the development server(Weblogic server 8, OS: unix box):
  • On the IE browser, the file is not opening. It opens the Adobe Acrobat reader, appears as if it will open the file, but gives the following error message: "There was an error opening this document. The file does not exist." The strange part is that it is successfully saving the same file.
  • On the Netscape browser, the same file from coming from the server hosted on the unix box, is opening properly. Hence, the issue is not related to case of the path etc.


  • Has anybody come across this issue. Can you please suggest what could be done to fix the same. Thanks in advance.

    Regards,
    Ruchi
     
    Ranch Hand
    Posts: 160
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    When the Acrobat Reader says such an error, try saving that file (you have mentioned that saving works) to the local machine and open the file seperately instead of opening it via IE.

    I suppose that there ad been some exception while generating the pdf and hence this file is opening before.
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic