0 Replies Latest reply on Aug 22, 2019 6:54 PM by Jorge Solis

    How to output PDF Files in Wildfly 8.2.1?

    Jorge Solis Newbie

      We are updating our app server from Jboss 4.0 to Wildfly 8.2.1. So far, the application is working fine. However, we found a problem when trying to  ouput pdf files.

      We are making requests to the server and every response returns with a  200 message. However, Only the PDF files are not displayed in the UI.

       

      Our application is very old, It works only in Internet Explorer.

      • We use apache cocoon
      • Currently using java 7
      • we added the application/pdf mime type in our web.xml fileIs. but it is not working
      • JBoss 4.0 is displaying the PDF files

       

      Is there any dependency or configuration for WildFly that is preventing the pdf to be displayed ?