Right. Sorry. Tomcat 6.0.14, Java 1.6.0_03, WindowsXP SP3.

It gets even better: if the servlet copies the file's contents to its response, both have 1766 bytes returned. One gives an invalid PDF, the other not.

IOUtil.copy(new FileReader(new File("C:\\...\\test.xslfo.xml")), response.getWriter());


---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to