You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Turner, John" <JT...@AAS.com> on 2003/01/26 15:10:42 UTC
RE: Apache 2 + mod_jk - webapp appending extraneous characters to
server name?
Something in your configuration is messing up the HTTP Response headers,
probably Struts in some way. That string is a mangled version of
"Content-Type: text/html".
I guess it could also be mod_jk with Apache .44 (.44 being brand new) that's
doing it, but if the Tomcat examples work OK, I would say its Struts.
John
-----Original Message-----
From: Jeffery Cann [mailto:jeff@jefferycann.com]
Sent: Sunday, January 26, 2003 1:47 AM
To: tomcat-user@jakarta.apache.org
Subject: Apache 2 + mod_jk - webapp appending extraneous characters to
server name?
Greetings.
I built apache 2.0.44 from source (default configuration). I hooked it up
to
mod_jk, version 1.2.2. The tomcat examples application works great.
When I run one of my web apps, the browser (maybe?) is inserting additional
information for the hostname in non-fully qualified URLs. For example, my
JSP code generates this link:
<a href='do/initMemberHome'>Member Homepage</a>
When I run the jsp page via any browser (or simply hover over the link)
(http://localhost/application/index.jsp), the browser thinks that the
servername is:
http://localhostnt-Type %1Ctext/do/initMemberHome
So, the 'nt-Type %1Ctext' string is appended to 'localhost'. I grep'd
around
the config files for tomcat, apache, and the webapp and see nothing. It
seems to be specific to my (simple) web application. The one difference
between it an other example applications is that the pages are generated
from
struts, using tiles. However, checking the HTML source of the generated JSP
page, I don't see the appended nt-Type %1Ctext.
Has anyone seen this problem? Any suggestions?
Thanks in advance.
Jeff
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>