On my workstation which is running
Tomcat 5.5 (
Java 1.5 JVM) the following code works and prints out the HTTP headers:
However, when I copy it over to our server which is running Tomcat 6 (1.6 JVM) I get the following output:
Why is this? Any help/advice much appreciated!
Stephen