IE6

2001-09-25 Thread Amit

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]




Re: IE6

2001-09-25 Thread Louis . Masters


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]




RE: IE6

2001-09-25 Thread Jim Wright

We're struggling with EXACTLY the same issue here.

White screens on some renders, but not others, and only for IE6/Acrobat 5.

I'll keep you posted.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 10:32 AM
To: [EMAIL PROTECTED]
Subject: Re: IE6



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]


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




RE: IE6

2001-09-25 Thread Louis . Masters


I currently run IE6 with Acro 5 with no problems.  If I remember right, the
white screens were pretty sporadic.  I believe I had the user remove both 4
and 5 and then reinstall 5.  You may also have to remove several registry
entries t o get it to work.
-Lou





Jim Wright [EMAIL PROTECTED] on 09/25/2001 12:18:25 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  RE: IE6

We're struggling with EXACTLY the same issue here.

White screens on some renders, but not others, and only for IE6/Acrobat 5.

I'll keep you posted.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 10:32 AM
To: [EMAIL PROTECTED]
Subject: Re: IE6



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]


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









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




RE: IE6

2001-09-25 Thread Jim Wright

I just got it to work everywhere!

I think the problem has something to do with some buffer in Explorer 6 (or
Acrobat?) that doesn't flush properly. Very small .pdf files (5 - 10 K as a
guess) show the white screen problem intermittently in IE6 (at least for
me). If you get up above about 15K, everything seems to work.

As I said, might be a buffer, or writer that's not flushing. Note that
flushing the out in java doesn't seem to have any effect on this.

Hope that helps.

jw

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 11:59 AM
To: [EMAIL PROTECTED]
Subject: RE: IE6



I currently run IE6 with Acro 5 with no problems.  If I remember right, the
white screens were pretty sporadic.  I believe I had the user remove both 4
and 5 and then reinstall 5.  You may also have to remove several registry
entries t o get it to work.
-Lou





Jim Wright [EMAIL PROTECTED] on 09/25/2001 12:18:25 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  RE: IE6

We're struggling with EXACTLY the same issue here.

White screens on some renders, but not others, and only for IE6/Acrobat 5.

I'll keep you posted.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 10:32 AM
To: [EMAIL PROTECTED]
Subject: Re: IE6



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]


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









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


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




Re: IE6

2001-09-25 Thread Amit

I finally got everything working in IE and Netscape ..
thanks to all who helped out.


Amit wrote:

 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]