1 Reply Latest reply on Jun 2, 2005 1:35 PM by marklarson

    setContentType() not working with SSL

    marklarson Newbie

      Hello, I have JBoss 4.0.2/Tomcat 5.5, using JasperReport 0.6.1
      I have a servlet that returns pdf/xls dynamically, which works for
      me under JBoss 3.2.3/Tomcat 4.1:

       "attachment; filename=returnFile.pdf");

      it will work with my HTTP Connector but not my SSL Connector:
       <Connector port="443" address="${jboss.bind.address}"
       maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
       scheme="https" secure="true" clientAuth="false"
       keystorePass="passwd" sslProtocol = "SSL" />

      I have other webapps in the same container that work with the SSL, and even with setting contentType="image/jpg" for blobs
      Maybe a change in servlet 2.4?
      I could not find any info on this, any help would be appreciated