Re: Jsp working fine from tomcat, but displaying source when accessed through apache (Only on Firefox)

2010-08-13 Thread bcaramu
set response.contentType(text/html), then it works newToMina wrote: 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.

Re: Jsp working fine from tomcat, but displaying source when accessed through apache (Only on Firefox)

2009-06-19 Thread newToMina
Mark, I changed JKMount as you suggested. But firefox is still displaying the source when accessing through apache. Direct tomcat access displays fine. Firefox is rendering the page as follows: Direct from tomcat (http://server:8080/appname/servlet/Controller) Type : text/html Render Mode:

Re: Jsp working fine from tomcat, but displaying source when accessed through apache (Only on Firefox)

2009-06-19 Thread André Warnier
newToMina wrote: Mark, I changed JKMount as you suggested. But firefox is still displaying the source when accessing through apache. Direct tomcat access displays fine. Firefox is rendering the page as follows: Direct from tomcat (http://server:8080/appname/servlet/Controller) Type : text/html

RE: Jsp working fine from tomcat, but displaying source when accessed through apache (Only on Firefox)

2009-04-07 Thread Peter Crowther
From: newToMina [mailto:askme...@yahoo.com] 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. Do you have a JkMount for the directory with the .jsp in *and* the same directory exposed

RE: Jsp working fine from tomcat, but displaying source when accessed through apache (Only on Firefox)

2009-04-07 Thread newToMina
Thanks for the reply. The JK mount is difined as follows. The wired thing is that first couple of page of the application is working fine. Only a purticular page is giving this problem. (the response headers were for this page). I have no clue on why is it happening. For some reason the firefox

Re: Jsp working fine from tomcat, but displaying source when accessed through apache (Only on Firefox)

2009-04-07 Thread Mark Thomas
newToMina wrote: Thanks for the reply. The JK mount is difined as follows. The wired thing is that first couple of page of the application is working fine. Only a purticular page is giving this problem. (the response headers were for this page). I have no clue on why is it happening. For some

Re: Jsp working fine from tomcat, but displaying source when accessed through apache (Only on Firefox)

2009-04-07 Thread newToMina
Mark, could you please explain it a little more detail and provide an example of the proper JKmount entries. Thanks in advance ... -- View this message in context:

Re: Jsp working fine from tomcat, but displaying source when accessed through apache (Only on Firefox)

2009-04-07 Thread Mark Thomas
newToMina wrote: Mark, could you please explain it a little more detail and provide an example of the proper JKmount entries. Thanks in advance ... Replace what you have previously with: JkMount /appname/* tomcat5 JkMount /appname tomcat5 Note this means you do not use the Alias or

Re: Jsp working fine from tomcat, but displaying source when accessed through apache (Only on Firefox)

2009-04-07 Thread newToMina
Thanks Mark... I will try this and update the post. -- 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-tp22931646p22934602.html Sent from the Tomcat - User mailing list archive at