I have jsp page which displays fine when I access it directly from tomcat. But when the page is access through apache (mod_jk) it displays the source code. This is happening only on Firefox and on IE it works fine. Firefox is rendering the page in quirk mode when accessed through apache and rendering in standard complaince mode when accessed directly from tomcat. OS: Opensuse 10 Tomcat: 5.5.20 apache: 2.0.59 (Unix) (mod_jk/1.2.19)
The following is the response headers for apache and tomcat. Direct from tomcat: Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=61DB0770967F2681728FFFF73F742C37; Expires=Thu, 01-Jan-1970 00:00:10 GMT JSESSIONID=A279CC9DD911FC575BFFDEC7837E371F; Path=/appname Expires: Sat, 6 May 1995 12:00:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: gzip Content-Type: text/html;charset=ISO-8859-1 Content-Length: 2418 Date: Tue, 07 Apr 2009 14:55:42 GMT 200 OK Same page accessed through apache: Date: Tue, 07 Apr 2009 14:56:23 GMT Server: Apache/2.0.59 (Unix) DAV/2 SVN/1.4.0 mod_jk/1.2.19 Set-Cookie: JSESSIONID=9D1D989BFF39342075436442AE3291D9; Expires=Thu, 01-Jan-1970 00:00:10 GMT JSESSIONID=A2E8A86EDB48255780784AE916B4775E; Path=/appname Expires: Sat, 6 May 1995 12:00:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: gzip Content-Length: 2418 Keep-Alive: timeout=15, max=97 Connection: Keep-Alive Content-Type: text/html;charset=ISO-8859-1 200 OK -- View this message in context: http://www.nabble.com/Jsp-working-fine-from-tomcat%2C-but-displaying-source-when-accessed-through-apache-%28Only-on-Firefox%29-tp22931646p22931646.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org