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:[EMAIL PROTECTED]] 
Sent: Sunday, January 26, 2003 1:47 AM
To: [EMAIL PROTECTED]
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:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

---

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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to