Amit:

Did you upgrade from Acrobat 4 to 5?  There are some issues with upgrading
from Acrobat 4 to 5 - apparently the install program does not quite  clean
up everything correctly.  Check out the Adobe website for how to fix this.
We had some incidents with IE55 and white screens when a user had
previously updated from 4 to 5.

-Lou





Amit <[EMAIL PROTECTED]> on 09/25/2001 11:02:29 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  IE6

Hi all,
    I finally got all my stuff working in netscape but not in IE6.
In IE6 there just a blank page. No errors nothing. I am on WInNT and
using Acrobat reader5
Here is my code:

public void makePDF(String xmlFile, String xslFile,
                         HttpServletResponse response) throws
ServletException {

   java.io.Reader reader;
   Writer writer = new StringWriter();

        try {

            ByteArrayOutputStream out = new ByteArrayOutputStream();
  XSLTransform.transform(xmlFile,
                                       xslFile, writer);

  writer.flush();
            writer.close();

  reader = new StringReader(writer.toString());

      Driver driver = new Driver(new InputSource(reader), out);
      driver.setRenderer(Driver.RENDER_PDF);
          driver.run();
            byte[] content = out.toByteArray();
  response.setContentType("application/pdf");
            response.setContentLength(content.length);
            response.getOutputStream().write(content);
            response.getOutputStream().flush();

        } catch (Exception ex) {
            throw new ServletException(ex);
        }


    }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]









---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to