You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Howard Lin <Ho...@vonage.com> on 2003/11/05 20:55:01 UTC
HTTP response header displayed for JSP
When trying to fetch a simple JSP page, the following header displayed on the browser (IE 6.0 on WinXP):
HTTP/1.1 200 OK Content-Type: text/plain;charset=ISO-8859-1 Content-Length: 2183 Date: Wed, 05 Nov 2003 19:42:16 GMT Server: Apache Tomcat/4.1.29-LE-jdk14 (HTTP/1.1 Connector)
After click the refresh button, the text displayed correctly. But if I click the refresh button again, the above header displayed again.
I searched the archive and google and couldn't find anything useful. I also changed some cookie settings in IE and that didn't fix either. The tomcat server is running standalone on a Linux RedHat 9.0 box with j2sdk 1.4.2.
Howard
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: HTTP response header displayed for JSP
Posted by Remy Maucherat <re...@jboss.org>.
Howard Lin wrote:
> When trying to fetch a simple JSP page, the following header
> displayed on the browser (IE 6.0 on WinXP):
>
> HTTP/1.1 200 OK Content-Type: text/plain;charset=ISO-8859-1
> Content-Length: 2183 Date: Wed, 05 Nov 2003 19:42:16 GMT Server:
> Apache Tomcat/4.1.29-LE-jdk14 (HTTP/1.1 Connector)
>
> After click the refresh button, the text displayed correctly. But if
> I click the refresh button again, the above header displayed again.
>
> I searched the archive and google and couldn't find anything useful.
> I also changed some cookie settings in IE and that didn't fix either.
> The tomcat server is running standalone on a Linux RedHat 9.0 box
> with j2sdk 1.4.2.
I don't know about this issue, but you're using a deprecated HTTP
connector. Try the default one.
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Senior Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: HTTP response header displayed for JSP
Posted by Larry Karnowski <la...@oculan.com>.
Howard,
Strangely enough, I'd never seen the HTTP headers display raw in a page
like that until today. We were having a problem (unrelated, very
specific to our environment) where some junk was being spit out BEFORE
the headers (again, not a Tomcat issue but a proxy issue). You might
want to debug your raw servlet/JSP output by telnetting directly to the
server or sniffing the packets with tcpdump or the like. Something
somewhere might be gumming up your output.
Good luck,
Larry Karnowski
On Nov 5, 2003, at 2:55 PM, Howard Lin wrote:
> When trying to fetch a simple JSP page, the following header displayed
> on the browser (IE 6.0 on WinXP):
>
> HTTP/1.1 200 OK Content-Type: text/plain;charset=ISO-8859-1
> Content-Length: 2183 Date: Wed, 05 Nov 2003 19:42:16 GMT Server:
> Apache Tomcat/4.1.29-LE-jdk14 (HTTP/1.1 Connector)
>
> After click the refresh button, the text displayed correctly. But if I
> click the refresh button again, the above header displayed again.
>
> I searched the archive and google and couldn't find anything useful. I
> also changed some cookie settings in IE and that didn't fix either.
> The tomcat server is running standalone on a Linux RedHat 9.0 box with
> j2sdk 1.4.2.
>
> Howard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: HTTP response header displayed for JSP
Posted by Christopher Schultz <ch...@comcast.net>.
Howard,
> When trying to fetch a simple JSP page, the following header
> displayed on the browser (IE 6.0 on WinXP):
>
> HTTP/1.1 200 OK Content-Type: text/plain;charset=ISO-8859-1
> Content-Length: 2183 Date: Wed, 05 Nov 2003 19:42:16 GMT Server:
> Apache Tomcat/4.1.29-LE-jdk14 (HTTP/1.1 Connector)
Maybe M$ is intentionally breaking for sites which run OSS :)
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org