tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Eugelink <>
Subject Re: file vs servlet through a filter
Date Tue, 04 Nov 2008 09:37:51 GMT
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")), 

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message