Hi Thomas, You are right that should work if the jsp gets parsed.
You could try request.getServerName() to return the name of the server. What happens if you run the tomcat jsp examples snoop example. That should be the same through the connector and not. Hope I helped. Nick. -----Original Message----- From: Thomas Heller [mailto:th.heller@;mx4k.com] Sent: Wednesday, October 30, 2002 5:31 PM To: Tomcat Users List Subject: BUG in jk connector? Hi there, i just managed to setup tomcat running an jk ajp13 connector and apache with mod_jk. now i have a very strange thing on my jsp page the source says: <h1>[TEST]<%= request.getHeader("Host") %>[/TEST]</h1> when accessing tomcat through the http connector on port 8080 the output is: <h1>[TEST]myhost:8080[/TEST]</h1> when accessing tomcat through the ajp13 connector the output is: <h1>[TEST]15" vspace="6"><b[/TEST]</h1> uhm? i somehow need the host header and see no reason why this should not work. i think my setup is correct since everything else is working like intended. any ideas? thanks, thomas -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
