Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts - xml to generate pdf - error with IE

 
Ruchi Kumar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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
     
    Senthil B Kumar
    Ranch Hand
    Posts: 160
    • Mark post as helpful
    • send pies
    • 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.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic