RE: Unwanted header when using Tomcat 3.2.4
Hello Sean, Thanks voor taking a peek at my post. On opening the page in your browser, the following lines appear above the 'real' text: (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) When viewing the source, this is the piece of code that is added to the original code: //17 lines of white HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 17 Jan 2003 11:11:52 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) //18 lines of white html head meta http-equiv=pragma content=no-cache meta http-equiv=expires content=-1 meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titleInfotelligence/title link rel=stylesheet type=text/css href=../../portalinabox.css... [rest of document] I hope you have a better view at the problem now. -Oorspronkelijk bericht- Van: Sean Dockery [mailto:[EMAIL PROTECTED]] Verzonden: vrijdag 7 februari 2003 0:44 Aan: Tomcat Users List Onderwerp: Re: Unwanted header when using Tomcat 3.2.4 I am confused as to where you are suggesting that the document begins and ends. Does it look like this? document (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) [17 blank lines...] [rest of document] /document Or like this? request (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) /request document [17 blank lines...] [rest of document] document At 15:59 2003-02-05 +0100, you wrote: Hello Tomcat users, I'm using Tomcat 3.2.4 with jdk 1.2.2.009 on a Windows 2000 server with IIS (Tomcat integrated in IIS). When I open the main page of an application, the page shows the header: (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) The first few lines of source of the page look like this: //17 lines of white HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 17 Jan 2003 11:11:52 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) //18 lines of white html head meta http-equiv=pragma content=no-cache meta http-equiv=expires content=-1 meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titleInfotelligence/title link rel=stylesheet type=text/css href=../../portalinabox.css script language=JavaScript !-- window.name = mainWindow; function getDate() What can I do to stop Tomcat showing the header? Robert ten Veen Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unwanted header when using Tomcat 3.2.4
Okay. In your index.jsp, insert the following page directive to the very top... %@ page contentType=text/html; charset=iso-8859-1 % Let me know if the problem persists... At 09:45 2003-02-07 +0100, you wrote: Hello Sean, Thanks voor taking a peek at my post. On opening the page in your browser, the following lines appear above the 'real' text: (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) When viewing the source, this is the piece of code that is added to the original code: //17 lines of white HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 17 Jan 2003 11:11:52 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) //18 lines of white - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unwanted header when using Tomcat 3.2.4
Well, I've inserted it in index.jsp, but unfortunately the problem persists. -Oorspronkelijk bericht- Van: Sean Dockery [mailto:[EMAIL PROTECTED]] Verzonden: vrijdag 7 februari 2003 11:52 Aan: Tomcat Users List Onderwerp: RE: Unwanted header when using Tomcat 3.2.4 Okay. In your index.jsp, insert the following page directive to the very top... %@ page contentType=text/html; charset=iso-8859-1 % Let me know if the problem persists... At 09:45 2003-02-07 +0100, you wrote: Hello Sean, Thanks voor taking a peek at my post. On opening the page in your browser, the following lines appear above the 'real' text: (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) When viewing the source, this is the piece of code that is added to the original code: //17 lines of white HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 17 Jan 2003 11:11:52 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) //18 lines of white - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unwanted header when using Tomcat 3.2.4
I am confused as to where you are suggesting that the document begins and ends. Does it look like this? document (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) [17 blank lines...] [rest of document] /document Or like this? request (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) /request document [17 blank lines...] [rest of document] document At 15:59 2003-02-05 +0100, you wrote: Hello Tomcat users, I'm using Tomcat 3.2.4 with jdk 1.2.2.009 on a Windows 2000 server with IIS (Tomcat integrated in IIS). When I open the main page of an application, the page shows the header: (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) The first few lines of source of the page look like this: //17 lines of white HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 17 Jan 2003 11:11:52 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) //18 lines of white html head meta http-equiv=pragma content=no-cache meta http-equiv=expires content=-1 meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titleInfotelligence/title link rel=stylesheet type=text/css href=../../portalinabox.css script language=JavaScript !-- window.name = mainWindow; function getDate() What can I do to stop Tomcat showing the header? Robert ten Veen Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]